aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-03 12:01:50 -0600
committermegamage <none@none>2009-04-03 12:01:50 -0600
commitb449693f1737894b9be4d836a9a35abf6b38d4cc (patch)
tree30810f5db386ceeea3f55b912d11b65299679a59 /src
parent335c04b79156e4262e91894141bf5fa687d4c926 (diff)
*Fix a crash of warbringer_omrogg script.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp b/src/bindings/scripts/scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp
index 4c053bcc133..c565d6ab08e 100644
--- a/src/bindings/scripts/scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp
+++ b/src/bindings/scripts/scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp
@@ -286,13 +286,13 @@ struct TRINITY_DLL_DECL boss_warbringer_omroggAI : public ScriptedAI
{
Delay_Timer = 3500;
- if (!LeftHead && !RightHead)
+ if (!LeftHead || !RightHead)
return;
Unit *Left = Unit::GetUnit(*m_creature,LeftHead);
Unit *Right = Unit::GetUnit(*m_creature,RightHead);
- if (!Left && !Right)
+ if (!Left || !Right)
return;
if (AggroYell)