aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 14:48:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 14:48:28 +0100
commit39c371a659a65ec14fffde12c79f8f140078e215 (patch)
tree90d226d6a136e37d93dd4c2306b26b0b0976af46 /src/ft_parse_map.c
parentthe very smartest (diff)
download42-cub3d-39c371a659a65ec14fffde12c79f8f140078e215.tar.gz
42-cub3d-39c371a659a65ec14fffde12c79f8f140078e215.tar.bz2
42-cub3d-39c371a659a65ec14fffde12c79f8f140078e215.tar.xz
42-cub3d-39c371a659a65ec14fffde12c79f8f140078e215.tar.zst
42-cub3d-39c371a659a65ec14fffde12c79f8f140078e215.zip
CC back to clang only
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 8878719..9c688fe 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -97,7 +97,7 @@ void
ft_error(FT_RET_NO_MAP, FT_ERR_NO_MAP, clist);
ft_save_name(map_path, clist);
ret = 1;
- while (ret != 12 && ret >= 0)
+ while (ret != 25 && ret >= 0)
ret = ft_parse_it(fd, clist);
(ret == -2) ? (ft_map_error(FT_ERR_ALR_SET, clist)) : 0;
(ret == -1) ? (ft_map_error(clist->errmsg, clist)) : 0;