diff options
author | megamage <none@none> | 2009-05-18 23:07:36 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-18 23:07:36 -0500 |
commit | 833ceee7c52df5e7437d45d2970c5c30cb97e633 (patch) | |
tree | bc431811e328b21e2b5ed77e18b24af37049123c /src | |
parent | ba727af7964d07d5b58c7946c3f08aaee2d76537 (diff) |
*Fix a bug that player cannot remove buff which is not casted by self.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index c24a9e2bb92..644d8bc919b 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) |