*Do not allow client to interrupt instant spells. By thenecromancer

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-30 09:59:16 -05:00
parent efd58033ea
commit a9f6f4481d
3 changed files with 11 additions and 13 deletions

View File

@@ -339,12 +339,8 @@ void WorldSession::HandleCancelCastOpcode(WorldPacket& recvPacket)
uint32 spellId;
recvPacket >> spellId;
//FIXME: hack, ignore unexpected client cancel Deadly Throw cast
if(spellId==26679)
return;
if(_player->IsNonMeleeSpellCasted(false))
_player->InterruptNonMeleeSpells(false,spellId);
_player->InterruptNonMeleeSpells(false,spellId,false);
}
void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)