From cfc2ab3f0c94234a98be573af394b23868166f84 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 7 Mar 2020 22:26:28 +0100 Subject: Got secret door bonus --- src/ft_detect.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ft_detect.c') diff --git a/src/ft_detect.c b/src/ft_detect.c index 8ab3d57..cbd8c58 100644 --- a/src/ft_detect.c +++ b/src/ft_detect.c @@ -74,8 +74,7 @@ void cl->rlist.sqy += cl->mlist.y_step; cl->rlist.side = 1; } - if (cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy] == '1' || - cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy] == 'L') + if (ft_ischarset("1LD", cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy])) cl->rlist.hit = 1; } } -- cgit v1.2.3