Browse Source

[hellfire] WitchRechargeOk

pull/956/head
Anders Jenbo 5 years ago
parent
commit
b880bf0160
  1. 6
      Source/stores.cpp

6
Source/stores.cpp

@ -1063,6 +1063,12 @@ BOOL WitchRechargeOk(int i)
&& plr[myplr].InvList[i]._iCharges != plr[myplr].InvList[i]._iMaxCharges) {
rv = TRUE;
}
#ifdef HELLFIRE
if ((plr[myplr].InvList[i]._iMiscId == IMISC_UNIQUE || plr[myplr].InvList[i]._iMiscId == IMISC_STAFF)
&& plr[myplr].InvList[i]._iCharges < plr[myplr].InvList[i]._iMaxCharges) {
rv = TRUE;
}
#endif
return rv;
}

Loading…
Cancel
Save