*Fix a bug that player cannot remove buff which is not casted by self.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-18 23:07:36 -05:00
parent ba727af796
commit 833ceee7c5
+2 -1
View File
@@ -376,7 +376,8 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)
} }
// non channeled case // 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) void WorldSession::HandlePetCancelAuraOpcode( WorldPacket& recvPacket)