[8225] Some fixes from 320 branch. Author: tomrus88

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-30 10:26:15 +08:00
1 parent 4c9aa14e57
commit 7bd47f8827
9 files changed
+65 -49

No files matched your search

+2 -2
View File
@@ -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)