Browse Source

Play smoke effect on the correct osprey wing. Related issue: https://github.com/ValveSoftware/halflife/issues/3263 (#253)

hl_urbicide
Roman Chistokhodov 3 years ago committed by GitHub
parent
commit
3dc739547c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dlls/osprey.cpp

4
dlls/osprey.cpp

@ -756,7 +756,7 @@ void COsprey::TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir @@ -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 @@ -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…
Cancel
Save