From 36e4ca1eeffa78d57767fced53fd16df17d75373 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 28 Feb 2020 19:22:58 +0100 Subject: L is now crapaud and you can pass through :^) --- src/ft_detect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ft_detect.c') diff --git a/src/ft_detect.c b/src/ft_detect.c index 10d7147..a59896a 100644 --- a/src/ft_detect.c +++ b/src/ft_detect.c @@ -74,7 +74,9 @@ void cl->rlist.sqy += cl->mlist->y_step; cl->rlist.side = 1; } - if (cl->mlist->map[cl->rlist.sqx][cl->rlist.sqy] == '1') + if (cl->mlist->map[cl->rlist.sqx][cl->rlist.sqy] == '1' || + cl->mlist->map[cl->rlist.sqx][cl->rlist.sqy] == 'L') cl->rlist.hit = 1; + } } -- cgit v1.2.3