Dungeon Finder: Limit the number of groups added to queue to one per update

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-24 10:37:55 +02:00
parent 33f1c597a0
commit eedce26148

View File

@@ -248,7 +248,7 @@ void LFGMgr::Update(uint32 diff)
// Check if a proposal can be formed with the new groups being added
LfgProposalList proposals;
LfgGuidList firstNew;
while(!m_newToQueue.empty())
if (!m_newToQueue.empty())
{
firstNew.push_back(m_newToQueue.front());
FindNewGroups(firstNew, m_currentQueue, &proposals);