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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 221c43d..2d6d197 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -105,7 +105,7 @@ void
i++;
}
ft_floor_cast(cl);
- i = 0;
+ ft_calc_sprite(cl);
ft_memdel((void**)&cl->rlist.wall_dist_tab);
ft_memdel((void**)&cl->rlist.wall_bz);
}