From 724cce7d9075924f4e70d155b2a7d50aade78af8 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 06229799904..f435353e668 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -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; }