From 833ceee7c52df5e7437d45d2970c5c30cb97e633 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 18 May 2009 23:07:36 -0500 Subject: [PATCH] *Fix a bug that player cannot remove buff which is not casted by self. --HG-- branch : trunk --- src/game/SpellHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index c24a9e2bb9..644d8bc919 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -376,7 +376,8 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket) } // non channeled case - _player->RemoveAurasDueToSpell(spellId, _player->GetGUID(), AURA_REMOVE_BY_CANCEL); + // maybe should only remove one buff when there are multiple? + _player->RemoveAurasDueToSpell(spellId, 0, AURA_REMOVE_BY_CANCEL); } void WorldSession::HandlePetCancelAuraOpcode( WorldPacket& recvPacket)