From cfd9b14c560f379fca483b9a02202d7b0fd44a50 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 13 Apr 2009 17:43:40 +0000 Subject: [PATCH] bugfix for #0000010 -> http://www.pokerth.net/mantis/view.php?id=10 --- src/engine/local_engine/localhand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/local_engine/localhand.cpp b/src/engine/local_engine/localhand.cpp index 6c24af40..6fc74c70 100755 --- a/src/engine/local_engine/localhand.cpp +++ b/src/engine/local_engine/localhand.cpp @@ -522,7 +522,7 @@ void LocalHand::switchRounds() { // no.2: heads up -> detect player who is all in and bb but could set less than sb for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) { - if(activePlayerList->size()==2 && (*it_c)->getMyAction() == PLAYER_ACTION_ALLIN && (*it_c)->getMyButton()==BUTTON_BIG_BLIND && (*it_c)->getMySet()<=smallBlind) { + if(activePlayerList->size()==2 && (*it_c)->getMyAction() == PLAYER_ACTION_ALLIN && (*it_c)->getMyButton()==BUTTON_BIG_BLIND && (*it_c)->getMySet()<=smallBlind && currentRound == GAME_STATE_PREFLOP) { allInCondition = true; } }