From f2545b4e53be0f9652b7e3bd5511a6accb14510d Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 17 Dec 2023 12:28:47 +0100 Subject: [PATCH] port: fix GE muzzleflashes on single-shot guns --- src/game/bondgun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/bondgun.c b/src/game/bondgun.c index cb891c8c9..7107d7f53 100644 --- a/src/game/bondgun.c +++ b/src/game/bondgun.c @@ -1919,7 +1919,7 @@ void bgun0f09a6f8(struct handweaponinfo *info, s32 handnum, struct hand *hand, s hand->flashon = true; #else if (g_BgunGeMuzzleFlashes) { - if (func->type != INVENTORYFUNCTYPE_SHOOT_SINGLE && (hand->shotstotake & 1)) { + if (func->type == INVENTORYFUNCTYPE_SHOOT_SINGLE || (hand->shotstotake & 1)) { hand->flashon = true; } } else {