mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Play smoke effect on the correct osprey wing. Related issue: https://github.com/ValveSoftware/halflife/issues/3263 (#253)
This commit is contained in:
parent
4e13400c61
commit
3dc739547c
@ -756,7 +756,7 @@ void COsprey::TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir
|
||||
return;
|
||||
else
|
||||
m_flRightHealth -= flDamage;
|
||||
m_iDoLeftSmokePuff = 3 + ( flDamage / 5.0f );
|
||||
m_iDoRightSmokePuff = 3 + ( flDamage / 5.0f );
|
||||
}
|
||||
|
||||
if( ptr->iHitgroup == 2 )
|
||||
@ -765,7 +765,7 @@ void COsprey::TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir
|
||||
return;
|
||||
else
|
||||
m_flLeftHealth -= flDamage;
|
||||
m_iDoRightSmokePuff = 3 + ( flDamage / 5.0f );
|
||||
m_iDoLeftSmokePuff = 3 + ( flDamage / 5.0f );
|
||||
}
|
||||
|
||||
// hit hard, hits cockpit, hits engines
|
||||
|
Loading…
Reference in New Issue
Block a user