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

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-30 09:59:16 -05:00
1 parent efd58033ea
commit a9f6f4481d
3 files changed
+11 -13

No files matched your search

+1 -5
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)