aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_darkness.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-09 17:16:31 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-09 17:16:31 +0100
commitff1301afc3808887b4cf8fde9a4d24638120c6c5 (patch)
treeda99874501bd4bf6b9bb993b74a9355620b0286b /src/ft_get_darkness.c
parentGood lvl five (diff)
download42-cub3d-ff1301afc3808887b4cf8fde9a4d24638120c6c5.tar.gz
42-cub3d-ff1301afc3808887b4cf8fde9a4d24638120c6c5.tar.bz2
42-cub3d-ff1301afc3808887b4cf8fde9a4d24638120c6c5.tar.xz
42-cub3d-ff1301afc3808887b4cf8fde9a4d24638120c6c5.tar.zst
42-cub3d-ff1301afc3808887b4cf8fde9a4d24638120c6c5.zip
Perf
Diffstat (limited to 'src/ft_get_darkness.c')
-rw-r--r--src/ft_get_darkness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_darkness.c b/src/ft_get_darkness.c
index 7f1bc00..14a9f00 100644
--- a/src/ft_get_darkness.c
+++ b/src/ft_get_darkness.c
@@ -39,7 +39,7 @@ int8_t
}
if (ft_checkdigit(words[1], clist))
return (-1);
- if (ft_atoi(words[1]) < 0 || ft_atoi(words[1]) > 10)
+ if (ft_atoi(words[1]) < 0 || ft_atoi(words[1]) > 20)
{
ft_sprintf(clist->errmsg, FT_ERR_SH_RANGE);
return (-1);