Browse Source

fix being able to repair equipped items for free

pull/7487/head
qndel 2 years ago committed by Anders Jenbo
parent
commit
d8fd03d11f
  1. 1
      Source/stores.cpp

1
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;
}

Loading…
Cancel
Save