Skip to content

Commit

Permalink
SpawnGroup: Fix infinite loop from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 8, 2024
1 parent b1bec88 commit c0611ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game/Maps/SpawnGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0611ab

Please sign in to comment.