bugfix: wrong blinds in heads up

This commit is contained in:
doitux
2007-05-18 11:38:37 +00:00
parent ace4d5b41a
commit a9e2d56b0d
3 changed files with 50 additions and 30 deletions
+11 -5
View File
@@ -864,11 +864,17 @@ void mainWindowImpl::refreshButton() {
}
}
else {
if (currentHand->getPlayerArray()[i]->getMyButton()==3) {
buttonLabelArray[i]->setPixmap(dealerButton);
}
else {
buttonLabelArray[i]->setPixmap(onePix);
switch (currentHand->getPlayerArray()[i]->getMyButton()) {
case 2 : buttonLabelArray[i]->setPixmap(dealerButton);
break;
case 3 : {
if (myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[i]->setPixmap(bigblindButton);
else { buttonLabelArray[i]->setPixmap(onePix); }
}
break;
default: buttonLabelArray[i]->setPixmap(onePix);
}
}
}