From d8c6c69450556806c533a4a9a0d37579d6ed7502 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 1 Oct 2014 20:50:01 -0400 Subject: [PATCH] ITEM and PB slot checks too --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 606ce1816..fb3cba454 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -485,7 +485,7 @@ bool Mob::DoCastSpell(uint16 spell_id, uint16 target_id, uint16 slot, } // This needs a bit more work for saving timer to PP for zoning etc - if (IsClient() && item_slot != INVALID_INDEX) { + if (IsClient() && item_slot != INVALID_INDEX && ((slot == USE_ITEM_SPELL_SLOT) || (slot == POTION_BELT_SPELL_SLOT))) { ItemInst *itm = CastToClient()->GetInv().GetItem(item_slot); if (itm && itm->GetItem()->RecastDelay) { outapp = new EQApplicationPacket(OP_ItemRecastDelay, sizeof(ItemRecastDelay_Struct));