Fix Crash in boss_gluthAI::UpdateAI.
Fixes issue #442. Thanks JuliuSZS for pre-diagnose --HG-- branch : trunk
This commit is contained in:
@@ -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()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user