diff options
author | maximius <none@none> | 2009-10-29 00:01:29 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-29 00:01:29 -0700 |
commit | 63d703c53c331be85bf926f1604476a0a77f3d0f (patch) | |
tree | 2c417ca4368b76d6a8f3273a1fceeee02e3cf259 /src/game/CreatureAIImpl.h | |
parent | b9fd59683c0146f1f6e46669ce3be183b2352720 (diff) |
*Cleanup (Brutallus' Intro should start properly now)
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureAIImpl.h')
-rw-r--r-- | src/game/CreatureAIImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/CreatureAIImpl.h b/src/game/CreatureAIImpl.h index 38d91624c75..1048968ce82 100644 --- a/src/game/CreatureAIImpl.h +++ b/src/game/CreatureAIImpl.h @@ -581,7 +581,7 @@ inline bool CreatureAI::_EnterEvadeMode() inline void UnitAI::DoCast(Unit* victim, uint32 spellId, bool triggered) { - if(!victim || me->hasUnitState(UNIT_STAT_CASTING) && !triggered) + if(!victim || (me->hasUnitState(UNIT_STAT_CASTING) && !triggered)) return; me->CastSpell(victim, spellId, triggered); |