This commit is contained in:
doitux
2007-06-08 19:37:21 +00:00
parent 656cd7093d
commit 4b8049e9dd
3 changed files with 13 additions and 8 deletions
+3 -2
View File
@@ -269,6 +269,7 @@ void LocalHand::assignButtons() {
// sonst
else { playerArray[i]->setMySet(2*smallBlind); }
}
}
}
@@ -288,7 +289,7 @@ void LocalHand::switchRounds() {
// Anzahl der Spieler ermitteln, welche All In sind
int allInPlayersCounter = 0;
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
if (playerArray[i]->getMyAction() == 6) allInPlayersCounter++;
}
@@ -336,7 +337,7 @@ void LocalHand::switchRounds() {
}
// HeadsUp-Ausnahme -> spieler ermitteln, der all in ist und als bb nur weniger als sb setzen konnte
if(activePlayersCounter==2 && playerArray[i]->getMyAction() != 1 && playerArray[i]->getMyAction() == 6 && playerArray[i]->getMyActiveStatus() == 1 && playerArray[i]->getMyButton()==3 && playerArray[i]->getMySet()<=smallBlind) {
if(activePlayersCounter==2 && playerArray[i]->getMyAction() == 6 && playerArray[i]->getMyActiveStatus() == 1 && playerArray[i]->getMyButton()==3 && playerArray[i]->getMySet()<=smallBlind) {
allInCondition = 1;
}
+6 -3
View File
@@ -34,11 +34,14 @@ LocalPlayer::LocalPlayer(ConfigFile *c, BoardInterface *b, int id, unsigned uniq
// for statistic development
// if(myID==0) {
// myActiveStatus=0;
// myCash=0;
// myCash=20;
// }
//
// if(myID==1) {
// myCash=300;
// myCash=6130;
// }
// if(myID==2) {
// myCash=2850;
// }
////////////////////////////