Dungeon Finder: Add minor optimization to FindNewGroups
--HG-- branch : trunk
This commit is contained in:
1 parent
8be278dfae
commit
a32f0e7e9d
1 file changed
+1
-1
@@ -604,7 +604,7 @@ void LFGMgr::FindNewGroups(LfgGuidList &check, LfgGuidList all, LfgProposalList
|
||||
|
||||
if (numPlayers < MAXGROUPSIZE)
|
||||
{
|
||||
while (!all.empty())
|
||||
while (!all.empty() && check.size() < MAXGROUPSIZE)
|
||||
{
|
||||
check.push_back(all.front());
|
||||
all.pop_front();
|
||||
|
||||
Reference in new issue
Block a user