Skip to content

Commit

Permalink
Update Source/items.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Apr 19, 2024
1 parent 4f71202 commit eef510f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2834,7 +2834,8 @@ void CalcPlrGraphics(auto &player, PlayerWeaponGraphic animWeaponId, PlayerArmor
}
}

void CalcPlrAuricBonus(auto &player)
void CalcPlrAuricBonus(const Player &player)

{
if (&player == MyPlayer) {
if (player.InvBody[INVLOC_AMULET].isEmpty() || player.InvBody[INVLOC_AMULET].IDidx != IDI_AURIC) {
Expand Down

0 comments on commit eef510f

Please sign in to comment.