diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-07 22:34:38 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-07 22:34:38 +0100 |
commit | 684c8a8d416fafec52b5dcba81453789b53b8391 (patch) | |
tree | 653145d30484a075b93c666273296e7c90b3a825 /src/ft_check_map_surrounds.c | |
parent | Got secret door bonus (diff) | |
download | 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.gz 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.bz2 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.xz 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.zst 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.zip |
defines are bav
Diffstat (limited to 'src/ft_check_map_surrounds.c')
-rw-r--r-- | src/ft_check_map_surrounds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_check_map_surrounds.c b/src/ft_check_map_surrounds.c index 07c9540..8122cc3 100644 --- a/src/ft_check_map_surrounds.c +++ b/src/ft_check_map_surrounds.c @@ -42,7 +42,7 @@ void { while (ml->map[y][x]) { - if (ft_ischarset("02NESWLD", ml->map[y][x])) + if (ft_ischarset(FT_CHRST_MAP_NON_WALL, ml->map[y][x])) { if (ft_wall_check(y, x, ml->map) < 0) ft_map_error(FT_ERR_MAP_WALLS, cl); |