Fixed assertion fix again.
This commit is contained in:
+6
-6
@@ -145,12 +145,6 @@ void Game::initHand()
|
||||
PlayerListConstIterator it_c;
|
||||
PlayerListIterator it, it_2;
|
||||
|
||||
// eventuell vorhandene Hand löschen
|
||||
if(actualHand) {
|
||||
delete actualHand;
|
||||
actualHand = 0;
|
||||
}
|
||||
|
||||
actualHandID++;
|
||||
|
||||
// calculate smallBlind
|
||||
@@ -180,6 +174,9 @@ void Game::initHand()
|
||||
}
|
||||
}
|
||||
|
||||
// eventuell vorhandene Hand löschen
|
||||
if(actualHand) {
|
||||
|
||||
// TODO HACK
|
||||
for(it=seatsList->begin(); it!=seatsList->end(); it++) {
|
||||
if (!(*it)->getMyActiveStatus())
|
||||
@@ -195,6 +192,9 @@ void Game::initHand()
|
||||
}
|
||||
}
|
||||
|
||||
delete actualHand;
|
||||
actualHand = 0;
|
||||
}
|
||||
|
||||
runningPlayerList->clear();
|
||||
(*runningPlayerList) = (*activePlayerList);
|
||||
|
||||
Reference in New Issue
Block a user