From cabd40f8984986d52046bda4116fd40e5c385e56 Mon Sep 17 00:00:00 2001 From: J Date: Mon, 11 Dec 2023 00:49:09 +0000 Subject: [PATCH] GE Muzzle flash addition --- src/game/bondgun.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/game/bondgun.c b/src/game/bondgun.c index b63ab0d2c..c17f39bd0 100644 --- a/src/game/bondgun.c +++ b/src/game/bondgun.c @@ -1911,7 +1911,13 @@ void bgun0f09a6f8(struct handweaponinfo *info, s32 handnum, struct hand *hand, s if (func->flags & FUNCFLAG_NOMUZZLEFLASH) { hand->flashon = false; } else { - hand->flashon = true; + if ( func->type != INVENTORYFUNCTYPE_SHOOT_SINGLE) { + if (hand->shotstotake % 2 == 1) { + hand->flashon = true; + } + } else { + hand->flashon = true; + } } bgunStartSlide(handnum);