Skip to content

Commit

Permalink
Implement Issue X2CommunityCore#1320 - allow hit results other than `…
Browse files Browse the repository at this point in the history
…eHit_Success` to display flyovers when using bCombineFlyovers
  • Loading branch information
ps2guides committed Mar 25, 2024
1 parent dea97d9 commit 2e037a2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,9 @@ simulated state Executing
m_iShredded = 0;
for( i = 0; i < HitResults.Length && i < DamageResults.Length; i++ ) // some abilities damage the same target multiple times
{
if( HitResults[i] == eHit_Success )
/// HL-Docs: ref:Bugfixes; issue:1320
/// Allow hit results other than `eHit_Success` to display flyovers.
if( class'XComGameStateContext_Ability'.static.IsHitResultHit(HitResults[i]) )
{
m_iDamage += DamageResults[i].DamageAmount;
m_iMitigated += DamageResults[i].MitigationAmount;
Expand Down

0 comments on commit 2e037a2

Please sign in to comment.