fix(Scripts/ShadowmoonValley): Illidan buffer overflow (#21442)
This commit is contained in:
parent
9412c1eb3a
commit
3854d00dee
@ -1385,9 +1385,12 @@ void npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave()
|
||||
}
|
||||
}
|
||||
}
|
||||
++WaveCount;
|
||||
WaveTimer = WavesInfo[WaveCount].SpawnTimer;
|
||||
AnnounceTimer = WavesInfo[WaveCount].YellTimer;
|
||||
if (WaveCount < 3)
|
||||
{
|
||||
++WaveCount;
|
||||
WaveTimer = WavesInfo[WaveCount].SpawnTimer;
|
||||
AnnounceTimer = WavesInfo[WaveCount].YellTimer;
|
||||
}
|
||||
}
|
||||
|
||||
/*#####
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user