mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Add visual muzzle flash for invisible soldiers
This commit is contained in:
@@ -615,11 +615,6 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
|
|||||||
|
|
||||||
case 441:
|
case 441:
|
||||||
// CODE: Show muzzle flash
|
// CODE: Show muzzle flash
|
||||||
if ( pSoldier->bVisible == -1 )
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
{
|
||||||
OBJECTTYPE* pObjAttHand = pSoldier->GetUsedWeapon(&pSoldier->inv[pSoldier->ubAttackingHand]);
|
OBJECTTYPE* pObjAttHand = pSoldier->GetUsedWeapon(&pSoldier->inv[pSoldier->ubAttackingHand]);
|
||||||
if (IsFlashSuppressor(pObjAttHand, pSoldier) || (*pObjAttHand)[0]->data.gun.bGunAmmoStatus < 0)
|
if (IsFlashSuppressor(pObjAttHand, pSoldier) || (*pObjAttHand)[0]->data.gun.bGunAmmoStatus < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user