aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-13 19:28:55 -0500
committermegamage <none@none>2009-05-13 19:28:55 -0500
commiteaf0f7d44a5ecdf14c89fafdeca16607da745ca9 (patch)
treeed47794b117f0b10d1b60a0c8295d184791c52dd /src
parentaed17ae5c382976cd9193b1032d839841d73fb5d (diff)
parent5b9dae20b11243a19c37570392ab25a4bcdd63cd (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/tempest_keep/the_eye/boss_alar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/zone/tempest_keep/the_eye/boss_alar.cpp b/src/bindings/scripts/scripts/zone/tempest_keep/the_eye/boss_alar.cpp
index af44d96d417..dfeb7fea3e6 100644
--- a/src/bindings/scripts/scripts/zone/tempest_keep/the_eye/boss_alar.cpp
+++ b/src/bindings/scripts/scripts/zone/tempest_keep/the_eye/boss_alar.cpp
@@ -410,7 +410,8 @@ struct TRINITY_DLL_DECL boss_alarAI : public ScriptedAI
else
{
Unit *target = NULL;
- if(Phase1 && target && (target = m_creature->SelectNearestTarget(5)))
+ target = m_creature->SelectNearestTarget(5);
+ if(Phase1 && target)
m_creature->AI()->AttackStart(target);
else
{