adds activePlayerList and runningPlayerList (XVIII)

This commit is contained in:
doitux
2007-09-27 18:07:03 +00:00
parent 78bf4820af
commit 6d30e324e0
7 changed files with 267 additions and 90 deletions
+4 -2
View File
@@ -99,8 +99,10 @@ ClientBoard::collectSets()
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
sets = 0;
for (int i = 0; i < MAX_NUMBER_OF_PLAYERS; i++)
sets += playerArray[i]->getMySet();
PlayerListConstIterator it_c;
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++)
sets += (*it_c)->getMySet();
}
void