mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Fix a crash in boss Svala's script.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user