From c0611abe648a78be7b50888b95b0d16c2456aaed Mon Sep 17 00:00:00 2001 From: killerwife Date: Fri, 8 Nov 2024 18:54:29 +0100 Subject: [PATCH] SpawnGroup: Fix infinite loop from previous commit --- src/game/Maps/SpawnGroup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/Maps/SpawnGroup.cpp b/src/game/Maps/SpawnGroup.cpp index aa7655f0e9..d9fd0ca3f2 100644 --- a/src/game/Maps/SpawnGroup.cpp +++ b/src/game/Maps/SpawnGroup.cpp @@ -265,9 +265,8 @@ void SpawnGroup::Spawn(bool force) } else // filling redundant entries when a group has chanced spawns for optimization so we can stop at start m_chosenSpawns[dbGuid] = true; - - ++itr; } + ++itr; } eligibleGuids.resize(m_entry.MaxCount - m_objects.size()); // now we have final count for processing