allin button bugfix
This commit is contained in:
@@ -1694,6 +1694,8 @@ void gameTableImpl::mySet(){
|
||||
|
||||
void gameTableImpl::myAllIn(){
|
||||
|
||||
if(pushButton_AllIn->text() == AllInString) {
|
||||
|
||||
HandInterface *currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
||||
@@ -1712,14 +1714,13 @@ void gameTableImpl::myAllIn(){
|
||||
currentHand->getBoard()->collectSets();
|
||||
refreshPot();
|
||||
|
||||
// statusBar()->clearMessage();
|
||||
|
||||
//set that i was the last active player. need this for unhighlighting groupbox
|
||||
currentHand->setLastPlayersTurn(0);
|
||||
|
||||
//Spiel läuft weiter
|
||||
myActionDone();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void gameTableImpl::pushButtonBetRaiseClicked(bool checked) {
|
||||
|
||||
Reference in New Issue
Block a user