adds activePlayerList and runningPlayerList (VI)

This commit is contained in:
doitux
2007-09-25 09:52:58 +00:00
parent f39a7d393a
commit 96b47972d4
4 changed files with 9 additions and 17 deletions
+7
View File
@@ -360,6 +360,13 @@ void LocalHand::switchRounds() {
int i;
PlayerListIterator it;
// refresh runningPlayerList
for(it=runningPlayerList->begin(); it!=runningPlayerList->end(); it++) {
if((*it)->getMyAction() == 1 || (*it)->getMyAction() == 6) {
it = runningPlayerList->erase(it);
}
}
// Anzahl der Spieler ermitteln, welche All In sind
int allInPlayersCounter = 0;
for (it=activePlayerList->begin(); it!=activePlayerList->end(); it++) {