formatting logs

This commit is contained in:
floty
2007-10-06 20:55:23 +00:00
parent 4e649450b2
commit 27fb7d8e25
2 changed files with 18 additions and 18 deletions
+13 -13
View File
@@ -182,19 +182,19 @@ void Game::initHand()
if(actualHand) {
// TODO HACK
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 == seatsList->end())
it_2 = seatsList->begin();
getCurrentHand()->getCurrentBeRo()->setCurrentPlayersTurnId((*it_2)->getMyUniqueID());
}
}
}
// 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 == seatsList->end())
// it_2 = seatsList->begin();
// getCurrentHand()->getCurrentBeRo()->setCurrentPlayersTurnId((*it_2)->getMyUniqueID());
// }
// }
// }
delete actualHand;
actualHand = 0;