diff options
author | megamage <none@none> | 2009-02-03 15:05:04 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-03 15:05:04 -0600 |
commit | 3b8bce566ec9d3e56e35ebc3c3a0e9136faabdc6 (patch) | |
tree | d6c99472398f57257198200f1599952d000619bf /src/game/SpellHandler.cpp | |
parent | 7fdb40ec5cfe99ad97d8c0768538d7a7b60016d8 (diff) | |
parent | 516cb0c6da103f2e5297beab80a19dfc88ffb4af (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r-- | src/game/SpellHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index 4186336fe18..7323bed1915 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -50,7 +50,7 @@ void WorldSession::HandleUseItemOpcode(WorldPacket& recvPacket) recvPacket >> bagIndex >> slot >> cast_count >> spellid >> item_guid >> glyphIndex >> unk_flags; - Item *pItem = pUser->GetItemByPos(bagIndex, slot); + Item *pItem = pUser->GetUseableItemByPos(bagIndex, slot); if(!pItem) { pUser->SendEquipError(EQUIP_ERR_ITEM_NOT_FOUND, NULL, NULL ); @@ -349,7 +349,7 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket) } } - + // channeled spell case (it currently casted then) if(IsChanneledSpell(spellInfo)) { |