aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_res.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 02:26:36 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 02:26:36 +0100
commit032d8b3a30272fae40767ffe5952e0a5cc979b4a (patch)
tree24b9023a03f447cf4d88f11e5a3b6e95243a35aa /src/ft_get_res.c
parentGood as it is (diff)
download42-cub3d-032d8b3a30272fae40767ffe5952e0a5cc979b4a.tar.gz
42-cub3d-032d8b3a30272fae40767ffe5952e0a5cc979b4a.tar.bz2
42-cub3d-032d8b3a30272fae40767ffe5952e0a5cc979b4a.tar.xz
42-cub3d-032d8b3a30272fae40767ffe5952e0a5cc979b4a.tar.zst
42-cub3d-032d8b3a30272fae40767ffe5952e0a5cc979b4a.zip
Fixed minimap
Diffstat (limited to 'src/ft_get_res.c')
-rw-r--r--src/ft_get_res.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_res.c b/src/ft_get_res.c
index 013b061..4447c1d 100644
--- a/src/ft_get_res.c
+++ b/src/ft_get_res.c
@@ -66,8 +66,8 @@ int8_t
return (-1);
wlist->x_size = ft_atoi(words[1]);
wlist->y_size = ft_atoi(words[2]);
- if (wlist->x_size <= 10
- || wlist->y_size <= 10)
+ if (wlist->x_size <= 50 ||
+ wlist->y_size <= 50)
{
ft_sprintf(clist->errmsg, FT_ERR_RES_SMALL);
return (-1);