Skip to content

Commit

Permalink
Forgot the return value.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Jun 24, 2024
1 parent d98e4e5 commit 9ae3c85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/Objects/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7798,6 +7798,7 @@ bool Unit::HandleAttackPowerModifier(AttackPowerModIndex index, AttackPowerModTy
return false;

UpdateAttackPowerAndDamage(index == RANGED_AP_MODS);
return true;
}

float Unit::GetAttackPowerModifierValue(AttackPowerModIndex index, AttackPowerModType modifierType) const
Expand Down

0 comments on commit 9ae3c85

Please sign in to comment.