aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_detect.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 17:11:26 +0100
committerRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 17:11:26 +0100
commitb30087062bea536f713ac9cbdf304cb24fa0e844 (patch)
tree1b27fc1648cb5edcd50f8abc41fc902d828b233b /src/ft_detect.c
parentAt least it compiles (diff)
download42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.gz
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.bz2
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.xz
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.zst
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.zip
Removed sceret door bonus because it is no door
Diffstat (limited to 'src/ft_detect.c')
-rw-r--r--src/ft_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_detect.c b/src/ft_detect.c
index cbd8c58..42ecb3f 100644
--- a/src/ft_detect.c
+++ b/src/ft_detect.c
@@ -74,7 +74,7 @@ void
cl->rlist.sqy += cl->mlist.y_step;
cl->rlist.side = 1;
}
- if (ft_ischarset("1LD", cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy]))
+ if (ft_ischarset(FT_CHRST_DETECT, cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy]))
cl->rlist.hit = 1;
}
}