diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-19 19:13:35 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-19 19:13:35 +0200 |
commit | 15488196273516c99db82a1ac97faf03adea5685 (patch) | |
tree | 7462a2f61770b263ef299c6ba0855c65919fa7a6 /src/ft_select_bad_boy_action.c | |
parent | Fixed enemy hitbox (diff) | |
download | 42-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/ft_select_bad_boy_action.c')
-rw-r--r-- | src/ft_select_bad_boy_action.c | 1 |
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 |