Skip to content

Commit

Permalink
Play smoke effect on the correct osprey wing. Related issue: ValveSof…
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave authored Jun 6, 2022
1 parent 4e13400 commit 3dc7395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlls/osprey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -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
Expand Down

0 comments on commit 3dc7395

Please sign in to comment.