aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-30 09:59:16 -0500
committermegamage <none@none>2009-04-30 09:59:16 -0500
commita9f6f4481de5ae7db97bbfb6bfbb3f38e5627715 (patch)
treede24a7c0980ba93fc0449eb2730db769d2293b6a /src/game/SpellHandler.cpp
parentefd58033ea12f3380c2ff78ca1f7f0b6db368754 (diff)
*Do not allow client to interrupt instant spells. By thenecromancer
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r--src/game/SpellHandler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp
index 3da05d37f3d..efa9c6feebd 100644
--- a/src/game/SpellHandler.cpp
+++ b/src/game/SpellHandler.cpp
@@ -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)