aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_raycasting.c')
-rw-r--r--src/ft_raycasting.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 0a4b8b5..c83604f 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -117,7 +117,6 @@ void
while (i < wl->x_size)
{
ft_initray(i, cl);
- ft_floor_cast(cl);
cl->rlist.line_h = (int16_t)(wl->y_size / cl->rlist.wall_dist);
cl->rlist.wall_t = -cl->rlist.line_h / 2 + wl->y_size / 2;
if (cl->rlist.wall_t < 0)