From b880bf0160bbb4a2c6b199ec32591d85ff6cfbb2 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 27 Dec 2020 20:04:13 +0100 Subject: [PATCH] [hellfire] WitchRechargeOk --- Source/stores.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/stores.cpp b/Source/stores.cpp index 7e803f32e..65eea98c3 100644 --- a/Source/stores.cpp +++ b/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; }