Fix Crash in boss_gluthAI::UpdateAI.

Fixes issue #442.
Thanks JuliuSZS for pre-diagnose

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-01-23 11:52:45 +01:00
parent d9b38250ff
commit c784110d87
@@ -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())) if (me->IsWithinMeleeRange(me->getVictim()))
{ {