bugfix: allin-bug

This commit is contained in:
floty
2007-08-31 13:09:07 +00:00
parent a84f164b8a
commit a0e78485df
6 changed files with 18 additions and 13 deletions
+5 -2
View File
@@ -742,6 +742,9 @@ void mainWindowImpl::startNewLocalGame(newGameDialogImpl *v) {
int tmpDealerPos = 0;
startData.numberOfPlayers = gameData.maxNumberOfPlayers;
Tools::getRandNumber(0, startData.numberOfPlayers-1, 1, &tmpDealerPos, 0);
if(DEBUG_MODE) {
tmpDealerPos = 2;
}
startData.startDealerPlayerId = static_cast<unsigned>(tmpDealerPos);
//some gui modifications
@@ -1407,7 +1410,7 @@ void mainWindowImpl::dealBeRoCards(int myBeRoID) {
break;
case 3: { dealRiverCards0(); }
break;
default: { cout << "dealBeRoCards Error" << endl; }
default: { cout << "dealBeRoCards() Error" << endl; }
}
}
@@ -1897,7 +1900,7 @@ void mainWindowImpl::beRoAnimation2(int myBeRoID) {
break;
case 3: { riverAnimation2(); }
break;
default: { cout << "beRoAnimation2 Error" << endl; }
default: { cout << "beRoAnimation2() Error" << endl; }
}
}