Skip to content

Commit

Permalink
Fix bug in UpdateAttackPowerAndDamage where OFF_ATTACK was used inste…
Browse files Browse the repository at this point in the history
…ad of RANGED_ATTACK in
  • Loading branch information
killerwife committed Aug 17, 2021
1 parent 9b242c0 commit 3184e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/StatSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ void Creature::UpdateAttackPowerAndDamage(bool ranged)

if (ranged)
{
UpdateDamagePhysical(OFF_ATTACK);
UpdateDamagePhysical(RANGED_ATTACK);
return;
}

Expand Down

0 comments on commit 3184e89

Please sign in to comment.