From d8fd03d11fcccc2251b76e557b397811de7d25d0 Mon Sep 17 00:00:00 2001 From: qndel Date: Tue, 17 Sep 2024 10:50:01 +0200 Subject: [PATCH] fix being able to repair equipped items for free --- Source/stores.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/stores.cpp b/Source/stores.cpp index 8a1ab99ef..e1114ccfa 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -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; }