|
|
|
|
@ -1483,8 +1483,6 @@ void SmithSellEnter()
|
|
|
|
|
*/ |
|
|
|
|
void SmithRepairItem(int price) |
|
|
|
|
{ |
|
|
|
|
TakePlrsMoney(price); |
|
|
|
|
|
|
|
|
|
int idx = stextvhold + ((stextlhold - stextup) / 4); |
|
|
|
|
storehold[idx]._iDurability = storehold[idx]._iMaxDur; |
|
|
|
|
|
|
|
|
|
@ -1505,6 +1503,7 @@ void SmithRepairItem(int price)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
myPlayer.InvList[i]._iDurability = myPlayer.InvList[i]._iMaxDur; |
|
|
|
|
TakePlrsMoney(price); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void SmithRepairEnter() |
|
|
|
|
@ -1637,8 +1636,6 @@ void WitchSellEnter()
|
|
|
|
|
*/ |
|
|
|
|
void WitchRechargeItem(int price) |
|
|
|
|
{ |
|
|
|
|
TakePlrsMoney(price); |
|
|
|
|
|
|
|
|
|
int idx = stextvhold + ((stextlhold - stextup) / 4); |
|
|
|
|
storehold[idx]._iCharges = storehold[idx]._iMaxCharges; |
|
|
|
|
|
|
|
|
|
@ -1653,6 +1650,7 @@ void WitchRechargeItem(int price)
|
|
|
|
|
NetSyncInvItem(myPlayer, i); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
TakePlrsMoney(price); |
|
|
|
|
CalcPlrInv(myPlayer, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|