aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-01-23 11:52:45 +0100
committerTrazom62 <none@none>2010-01-23 11:52:45 +0100
commitc784110d87666579f18620a98e1e57118db4a9cf (patch)
treeab2f8ee7fd35755b935bbd012bcd8e69b16a0c8d /src
parentd9b38250ff381300f53e0a7f3942ec76012717d3 (diff)
Fix Crash in boss_gluthAI::UpdateAI.
Fixes issue #442. Thanks JuliuSZS for pre-diagnose --HG-- branch : trunk
Diffstat (limited to 'src')
-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()))
{