diff --git a/src/game.cpp b/src/game.cpp index 691ac27a..2fb95ad7 100755 --- a/src/game.cpp +++ b/src/game.cpp @@ -150,13 +150,20 @@ void Game::initHand() // Spieler mit leerem Cash auf inactive setzen PlayerListIterator it; - for(it = activePlayerList->begin(); it != activePlayerList->end(); it++) { +// cout << "id: " << actualHandID << endl; + + for(it=activePlayerList->begin(); it!=activePlayerList->end(); it++) { + +// cout << "player" << (*it)->getMyID() << ": " << (*it)->getMyCash() << endl; + if((*it)->getMyCash() == 0) { (*it)->setMyActiveStatus(0); it = activePlayerList->erase(it); } } +// cout << activePlayerList->size() << endl; + //Spieler Action auf 0 setzen for(i=0; isetMyAction(0);