adds activePlayerList and runningPlayerList (XXIII) - bugfixes

This commit is contained in:
doitux
2007-09-29 13:22:00 +00:00
parent 4b56af8c42
commit 390837f332
4 changed files with 50 additions and 15 deletions
+1
View File
@@ -485,6 +485,7 @@ void LocalHand::switchRounds() {
// refresh runningPlayerList
for(it=runningPlayerList->begin(); it!=runningPlayerList->end(); ) {
if((*it)->getMyAction() == PLAYER_ACTION_FOLD || (*it)->getMyAction() == PLAYER_ACTION_ALLIN) {
it = runningPlayerList->erase(it);
if(!(runningPlayerList->empty())) {