aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-07 11:03:28 -0600
committermegamage <none@none>2008-12-07 11:03:28 -0600
commitcdca989e4ac1268edae6749101773db95532bbe1 (patch)
tree9510d5d61fd41e4713d12f2c105d4418cb20aeb9 /src
parent087f735251a248217627a362f122b671a618729c (diff)
*Fix a typo.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/creature/mob_event_ai.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/creature/mob_event_ai.cpp b/src/bindings/scripts/scripts/creature/mob_event_ai.cpp
index 07307a4f9a2..e14aede1bf0 100644
--- a/src/bindings/scripts/scripts/creature/mob_event_ai.cpp
+++ b/src/bindings/scripts/scripts/creature/mob_event_ai.cpp
@@ -971,7 +971,7 @@ struct TRINITY_DLL_DECL Mob_EventAI : public ScriptedAI
m_creature->setActive(param1 ? true : false);
break;
case ACTION_T_SET_AGGRESSIVE:
- m_creature->SetReactState(param1);
+ m_creature->SetReactState(ReactStates(param1));
break;
case ACTION_T_ATTACK_START_PULSE:
AttackStart(m_creature->SelectNearestTarget((float)param1));