aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-19 19:13:35 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-19 19:13:35 +0200
commit15488196273516c99db82a1ac97faf03adea5685 (patch)
tree7462a2f61770b263ef299c6ba0855c65919fa7a6 /src
parentFixed enemy hitbox (diff)
download42-cub3d-15488196273516c99db82a1ac97faf03adea5685.tar.gz
42-cub3d-15488196273516c99db82a1ac97faf03adea5685.tar.bz2
42-cub3d-15488196273516c99db82a1ac97faf03adea5685.tar.xz
42-cub3d-15488196273516c99db82a1ac97faf03adea5685.tar.zst
42-cub3d-15488196273516c99db82a1ac97faf03adea5685.zip
Solved conditionnal jump
Diffstat (limited to 'src')
-rw-r--r--src/ft_select_bad_boy_action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_select_bad_boy_action.c b/src/ft_select_bad_boy_action.c
index b824306..45f9d44 100644
--- a/src/ft_select_bad_boy_action.c
+++ b/src/ft_select_bad_boy_action.c
@@ -78,6 +78,7 @@ static void
int8_t can_shoot;
int8_t r;
+ can_shoot = 0;
if (cl->bad_boy[i].life <= 0)
cl->bad_boy[i].does = 3;
else