port: fix GE muzzleflashes on single-shot guns

This commit is contained in:
fgsfds committed 2023-12-17 12:28:47 +01:00
1 parent 28218b26c2
commit f2545b4e53
1 file changed
+1 -1
+1 -1
View File
@@ -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 {