aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 14:57:04 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 14:57:04 +0100
commitebcfbdc44e2cdc64dca661520e8d0db2652da64e (patch)
tree687b919c4b859476ed495f7a5d68dfc41fe9af96 /src/ft_raycasting.c
parentParsed weapons spawns (diff)
download42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.gz
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.bz2
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.xz
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.zst
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.zip
Weapons sprites do draw
Diffstat (limited to 'src/ft_raycasting.c')
-rw-r--r--src/ft_raycasting.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 2d7df79..aa33eb5 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -108,6 +108,7 @@ void
ft_calc_sprite(cl);
ft_calc_heal(cl);
ft_calc_trap(cl);
+ ft_calc_weaps(cl);
ft_memdel((void*)&cl->rlist.wall_dist_tab);
ft_memdel((void*)&cl->rlist.wall_bz);
}