[10079] Don't allow cancel passive spells

This commit is contained in:
Laise 2010-06-19 20:52:18 +03:00
parent b62d64e7c7
commit 6bfd0aa5b5
2 changed files with 4 additions and 1 deletions

View file

@ -420,6 +420,9 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)
if (spellInfo->Attributes & SPELL_ATTR_CANT_CANCEL)
return;
if (IsPassiveSpell(spellInfo))
return;
if (!IsPositiveSpell(spellId))
{
// ignore for remote control state