Scripts/Utgarde Keep: Fix possible crsah in Ingvar code

This commit is contained in:
Shocker
2012-01-27 02:24:48 +02:00
parent 6c1815db7f
commit 83c85a2f07

View File

@@ -391,7 +391,8 @@ public:
ingvar->RemoveAurasDueToSpell(SPELL_SCOURG_RESURRECTION_DUMMY);
if (boss_ingvar_the_plunderer::boss_ingvar_the_plundererAI* pAI = CAST_AI(boss_ingvar_the_plunderer::boss_ingvar_the_plundererAI, ingvar->AI()))
pAI->StartZombiePhase();
if (ingvar->getVictim())
pAI->StartZombiePhase();
me->GetMotionMaster()->MovePoint(2, x+1, y, z+30);
++uiResurectPhase;