Fixed assertion fix.

This commit is contained in:
lotodore
2007-10-02 23:12:25 +00:00
parent cb5315dd73
commit 79d7268d04
+3 -3
View File
@@ -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());
}
}