[8225] Some fixes from 320 branch. Author: tomrus88
--HG-- branch : trunk
This commit is contained in:
1 parent
4c9aa14e57
commit
7bd47f8827
9 files changed
+65
-49
No files matched your search
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user