aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-30 10:26:15 +0800
committermegamage <none@none>2009-07-30 10:26:15 +0800
commit7bd47f88276551ffd51aef1659d4876cf18434ae (patch)
tree6e470468fa23d68c77bc75190a57822b1547f2fd /src/game/Unit.cpp
parent4c9aa14e57ad6d2b979e1444aaea12ea287b6c04 (diff)
[8225] Some fixes from 320 branch. Author: tomrus88
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 84590d47336..117dbe0e1da 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3477,8 +3477,8 @@ void Unit::InterruptSpell(uint32 spellType, bool withDelayed, bool withInstant)
// send autorepeat cancel message for autorepeat spells
if (spellType == CURRENT_AUTOREPEAT_SPELL)
{
- if(GetTypeId()==TYPEID_PLAYER)
- ((Player*)this)->SendAutoRepeatCancel();
+ if(GetTypeId() == TYPEID_PLAYER)
+ ((Player*)this)->SendAutoRepeatCancel(this);
}
if (spell->getState() != SPELL_STATE_FINISHED)