*Fix a crash in boss Svala's script.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-09-27 15:16:18 +02:00
parent f980dd9ac6
commit 23d7fa65e8

View File

@@ -127,6 +127,9 @@ struct TRINITY_DLL_DECL boss_svalaAI : public ScriptedAI
{
if (uiIntroTimer < diff)
{
if(!pArthas)
return;
switch (uiIntroPhase)
{
case 0:
@@ -171,7 +174,7 @@ struct TRINITY_DLL_DECL boss_svalaAI : public ScriptedAI
Phase = FINISHED;
}
else Reset();
break;
return;
}
} else uiIntroTimer -= diff;
}