diff options
author | Trazom62 <none@none> | 2010-01-23 11:52:45 +0100 |
---|---|---|
committer | Trazom62 <none@none> | 2010-01-23 11:52:45 +0100 |
commit | c784110d87666579f18620a98e1e57118db4a9cf (patch) | |
tree | ab2f8ee7fd35755b935bbd012bcd8e69b16a0c8d /src | |
parent | d9b38250ff381300f53e0a7f3942ec76012717d3 (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.cpp | 2 |
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())) { |