Removed hack which is not working anyway.

This commit is contained in:
lotodore
2007-10-07 21:52:15 +00:00
parent 49845451f2
commit 0547b7b37f
-16
View File
@@ -180,22 +180,6 @@ void Game::initHand()
// eventuell vorhandene Hand löschen
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());
}
}
}
delete actualHand;
actualHand = 0;
}