From 79d7268d0439eb394f9ad19e5b513ebbb6622d33 Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 2 Oct 2007 23:12:25 +0000 Subject: [PATCH] Fixed assertion fix. --- src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index ccf41456..cf7060f3 100755 --- a/src/game.cpp +++ b/src/game.cpp @@ -181,15 +181,15 @@ void Game::initHand() } // TODO HACK - for(it=runningPlayerList->begin(); it!=runningPlayerList->end(); it++) { + for(it=seatsList->begin(); it!=seatsList->end(); it++) { if (!(*it)->getMyActiveStatus()) { if ((*it)->getMyUniqueID() == getCurrentHand()->getCurrentBeRo()->getCurrentPlayersTurnId()) { it_2 = it; it_2++; - if (it_2 == runningPlayerList->end()) - it_2 = runningPlayerList->begin(); + if (it_2 == seatsList->end()) + it_2 = seatsList->begin(); getCurrentHand()->getCurrentBeRo()->setCurrentPlayersTurnId((*it_2)->getMyUniqueID()); } }