From c784110d87666579f18620a98e1e57118db4a9cf Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Sat, 23 Jan 2010 11:52:45 +0100 Subject: Fix Crash in boss_gluthAI::UpdateAI. Fixes issue #442. Thanks JuliuSZS for pre-diagnose --HG-- branch : trunk --- src/scripts/northrend/naxxramas/boss_gluth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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())) { -- cgit v1.2.3