From 4a07369a67e3f88417ac4a309852eadaf40f23d4 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 21 Feb 2020 19:31:27 +0100 Subject: add threaded music --- src/ft_detect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ft_detect.c') diff --git a/src/ft_detect.c b/src/ft_detect.c index 10d7147..fc49a2d 100644 --- a/src/ft_detect.c +++ b/src/ft_detect.c @@ -74,7 +74,8 @@ 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] == '2') cl->rlist.hit = 1; } } -- cgit v1.2.3