aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:34:45 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:34:45 +0100
commit5be59b518283b4737949bcbea597068df43487dc (patch)
treee2bffbff55a6d252642994d1e03fce1e4dd1760d /src/ft_raycasting.c
parentok bav (diff)
download42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.gz
42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.bz2
42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.xz
42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.zst
42-cub3d-5be59b518283b4737949bcbea597068df43487dc.zip
Bug fix
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 d805cdf..2d7df79 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -106,8 +106,8 @@ void
}
ft_floor_cast(cl);
ft_calc_sprite(cl);
- ft_calc_trap(cl);
ft_calc_heal(cl);
+ ft_calc_trap(cl);
ft_memdel((void*)&cl->rlist.wall_dist_tab);
ft_memdel((void*)&cl->rlist.wall_bz);
}