Skip to content

Commit

Permalink
fix being able to repair equipped items for free
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel authored and AJenbo committed Sep 18, 2024
1 parent d75a468 commit d8fd03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/stores.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,7 @@ void SmithRepairItem(int price)
myPlayer.InvBody[INVLOC_HAND_LEFT]._iDurability = myPlayer.InvBody[INVLOC_HAND_LEFT]._iMaxDur;
if (i == -4)
myPlayer.InvBody[INVLOC_HAND_RIGHT]._iDurability = myPlayer.InvBody[INVLOC_HAND_RIGHT]._iMaxDur;
TakePlrsMoney(price);
return;
}

Expand Down

0 comments on commit d8fd03d

Please sign in to comment.