*Skip second cancast check for instant spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-07 08:55:11 -06:00
parent b89febe076
commit f593c806cb
+1 -1
View File
@@ -2813,7 +2813,7 @@ void Spell::update(uint32 difftime)
} }
if(m_timer == 0 && !IsNextMeleeSwingSpell() && !IsAutoRepeat()) if(m_timer == 0 && !IsNextMeleeSwingSpell() && !IsAutoRepeat())
cast(); cast(m_spellInfo->CastingTimeIndex == 1);
} break; } break;
case SPELL_STATE_CASTING: case SPELL_STATE_CASTING:
{ {