aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-02-24 10:20:20 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-02-24 10:20:20 +0100
commit9fc4434c0deac6a3537183266adb9e85f3883db8 (patch)
tree3c4a2e829da3aec0803ff9e8d7f7003ec82f596f /src/ft_raycasting.c
parentshpritz (diff)
download42-cub3d-9fc4434c0deac6a3537183266adb9e85f3883db8.tar.gz
42-cub3d-9fc4434c0deac6a3537183266adb9e85f3883db8.tar.bz2
42-cub3d-9fc4434c0deac6a3537183266adb9e85f3883db8.tar.xz
42-cub3d-9fc4434c0deac6a3537183266adb9e85f3883db8.tar.zst
42-cub3d-9fc4434c0deac6a3537183266adb9e85f3883db8.zip
tests
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 b42e0b7..dd68cd3 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -110,8 +110,8 @@ void
ft_choose_tex(cl);
ft_calc_tex(cl);
ft_calc_sprite(cl);
- ft_draw_sprite(cl , i);
ft_draw_verline(cl, i, cl->rlist.wall_t, cl->rlist.wall_b);
+ ft_draw_sprite(cl , i);
i++;
}
}