Browse Source

fix being able to repair equipped items for free

pull/6665/head
qndel 2 years ago committed by Anders Jenbo
parent
commit
724cce7d90
  1. 1
      Source/stores.cpp

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

Loading…
Cancel
Save