diff --git a/src/engine/local_engine/localhand.cpp b/src/engine/local_engine/localhand.cpp index e3d48ba1..2c74af72 100755 --- a/src/engine/local_engine/localhand.cpp +++ b/src/engine/local_engine/localhand.cpp @@ -308,8 +308,8 @@ void LocalHand::switchRounds() { // 2) alle bis auf einen All In und der hat HighestSet int tempHighestSet; if(allInPlayersCounter+1 == activePlayersCounter) { - // Spieler ermitteln, der noch nicht All In ist for (i=0; igetMyAction() != 1 && playerArray[i]->getMyAction() != 6 && playerArray[i]->getMyActiveStatus() == 1) { tempHighestSet = 0; switch (actualRound) { @@ -328,7 +328,14 @@ void LocalHand::switchRounds() { if(playerArray[i]->getMySet() >= tempHighestSet) { allInCondition = 1; } + } + + // 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) { + allInCondition = 1; + } + } } } diff --git a/src/engine/local_engine/localplayer.cpp b/src/engine/local_engine/localplayer.cpp index b90d13c9..d6454247 100755 --- a/src/engine/local_engine/localplayer.cpp +++ b/src/engine/local_engine/localplayer.cpp @@ -35,6 +35,10 @@ LocalPlayer::LocalPlayer(ConfigFile *c, BoardInterface *b, int id, unsigned uniq // if(myID==0) { // myActiveStatus=0; // myCash=0; +// } + +// if(myID==1) { +// myCash=300; // } ////////////////////////////