Add visual muzzle flash for invisible soldiers

This commit is contained in:
steph-pg
2025-10-19 09:42:20 -03:00
committed by majcosta
parent 7499daf06a
commit 9ce1492651
-5
View File
@@ -615,11 +615,6 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
case 441:
// CODE: Show muzzle flash
if ( pSoldier->bVisible == -1 )
{
break;
}
{
OBJECTTYPE* pObjAttHand = pSoldier->GetUsedWeapon(&pSoldier->inv[pSoldier->ubAttackingHand]);
if (IsFlashSuppressor(pObjAttHand, pSoldier) || (*pObjAttHand)[0]->data.gun.bGunAmmoStatus < 0)