Skip to content

Commit

Permalink
fix(Scripts/ShadowmoonValley): Illidan buffer overflow (#21442)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev authored Feb 14, 2025
1 parent 9412c1e commit 3854d00
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/server/scripts/Outland/zone_shadowmoon_valley.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

/*#####
Expand Down

0 comments on commit 3854d00

Please # to comment.