diff options
Diffstat (limited to '')
-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); |