From 5f6b5490f80be9e792ccaeb18548cca54a62826f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 19 Apr 2020 18:46:10 +0200 Subject: Fixed enemy hitbox --- src/ft_select_bad_boy_action.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ft_select_bad_boy_action.c') diff --git a/src/ft_select_bad_boy_action.c b/src/ft_select_bad_boy_action.c index 2be17f3..b824306 100644 --- a/src/ft_select_bad_boy_action.c +++ b/src/ft_select_bad_boy_action.c @@ -87,6 +87,7 @@ static void can_shoot == 1)) { r = ft_set_r_ii(); + r = ((r == 1) && (d < 2.0)) ? (2) : (r); ft_bb_act(r, i, cl); } else if (cl->bad_boy[i].sleep == 0 && cl->bad_boy[i].life > 0) -- cgit v1.2.3