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 17, 2024
1 parent cfe9a8c commit 724cce7
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 @@ -1499,6 +1499,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 724cce7

Please sign in to comment.