aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 17:46:28 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 17:46:28 +0200
commitdf8d32e84a60558c38a0d75496c82de657103648 (patch)
tree964706cdd49ea979e42eef21dfa6f5af4299a7ce /src/ft_raycasting.c
parentCommit (diff)
download42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.gz
42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.bz2
42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.xz
42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.zst
42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.zip
It's moving!
Diffstat (limited to '')
-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 cc00963..e01e4ff 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -106,6 +106,7 @@ void
pthread_create(&tid[1], 0x0, ft_floor_cast, (void*)cl);
pthread_join(tid[0], 0x0);
pthread_join(tid[1], 0x0);
+ ft_select_bad_boy_action(cl);
ft_calc_sprite(cl);
if (cl->plist.handles_weapon > -1)
ft_draw_handweap(cl);