aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scripts/northrend/naxxramas/boss_gluth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/northrend/naxxramas/boss_gluth.cpp b/src/scripts/northrend/naxxramas/boss_gluth.cpp
index 51fe10ff001..525d9fd0f65 100644
--- a/src/scripts/northrend/naxxramas/boss_gluth.cpp
+++ b/src/scripts/northrend/naxxramas/boss_gluth.cpp
@@ -138,7 +138,7 @@ struct TRINITY_DLL_DECL boss_gluthAI : public BossAI
}
}
- if (me->getVictim()->GetEntry() == MOB_ZOMBIE)
+ if (me->getVictim() && me->getVictim()->GetEntry() == MOB_ZOMBIE)
{
if (me->IsWithinMeleeRange(me->getVictim()))
{