From 684c8a8d416fafec52b5dcba81453789b53b8391 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 7 Mar 2020 22:34:38 +0100 Subject: defines are bav --- src/ft_check_map_surrounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_check_map_surrounds.c') 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); -- cgit v1.2.3