mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Add visual muzzle flash for invisible soldiers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user