aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_detect.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_detect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_detect.c b/src/ft_detect.c
index fc49a2d..10d7147 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] == '2')
+ if (cl->mlist->map[cl->rlist.sqx][cl->rlist.sqy] == '1')
cl->rlist.hit = 1;
}
}