From 15488196273516c99db82a1ac97faf03adea5685 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 19 Apr 2020 19:13:35 +0200 Subject: Solved conditionnal jump --- src/ft_select_bad_boy_action.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3