aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_map_surrounds.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:26:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:26:28 +0100
commitcfc2ab3f0c94234a98be573af394b23868166f84 (patch)
treed39ed1364e3c9ceb669decc625f4aa2c145cba8b /src/ft_check_map_surrounds.c
parentDIVINE INTELLECT (diff)
download42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.gz
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.bz2
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.xz
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.zst
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.zip
Got secret door bonus
Diffstat (limited to '')
-rw-r--r--src/ft_check_map_surrounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_check_map_surrounds.c b/src/ft_check_map_surrounds.c
index 2bf228c..07c9540 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("02NESWL", ml->map[y][x]))
+ if (ft_ischarset("02NESWLD", ml->map[y][x]))
{
if (ft_wall_check(y, x, ml->map) < 0)
ft_map_error(FT_ERR_MAP_WALLS, cl);