Removed hack which is not working anyway.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user