*Do not allow client to interrupt instant spells. By thenecromancer
--HG-- branch : trunk
This commit is contained in:
1 parent
efd58033ea
commit
a9f6f4481d
3 files changed
+11
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user