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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 1f81840..d36eacf 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -14,10 +14,9 @@ ft_castray(t_cub *clist)
uint16_t i;
i = 0;
- while (i < clist->wlist->size_y)
+ while (i < clist->wlist->y_size)
{
- ft_initray(clist. i);
- p_s->line
+ ft_initray(clist, i);
i++;
}
}