diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 00:36:59 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 00:36:59 +0100 |
commit | d5e6f1b3182816c5366515521413a5f837e7096d (patch) | |
tree | 05f5846a2595c720cf53e2728ecaddb52bd575d4 /src/ft_parse_map.c | |
parent | Chelou maps work, now sides check (diff) | |
download | 42-cub3d-d5e6f1b3182816c5366515521413a5f837e7096d.tar.gz 42-cub3d-d5e6f1b3182816c5366515521413a5f837e7096d.tar.bz2 42-cub3d-d5e6f1b3182816c5366515521413a5f837e7096d.tar.xz 42-cub3d-d5e6f1b3182816c5366515521413a5f837e7096d.tar.zst 42-cub3d-d5e6f1b3182816c5366515521413a5f837e7096d.zip |
The surrounds
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 0d54c6f..eb62f3f 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -114,6 +114,7 @@ void if (ft_get_map_core(fd, clist) < 0) ft_map_error(clist->errmsg, clist); ft_check_map_last_line(clist); + ft_check_map_surrounds(&clist->mlist, clist); ft_print_map(&clist->mlist); ft_get_player_spawn(&clist->plist, clist); ft_get_nlvl_pos(&clist->mlist); |