Skip to content

Commit

Permalink
Implement Issue #1320 - allow hit results other than eHit_Success t…
Browse files Browse the repository at this point in the history
…o display flyovers when using bCombineFlyovers (#1321)
  • Loading branch information
Iridar authored May 1, 2024
1 parent 7c8d4f4 commit 0463673
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 0463673

Please sign in to comment.