full bet rule (part 3)
This commit is contained in:
1 parent
b598129cf9
commit
0191118138
1 file changed
+1
-1
@@ -1647,7 +1647,7 @@ int gameTableImpl::getMyBetAmount() {
|
|||||||
minimum = currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise();
|
minimum = currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise();
|
||||||
|
|
||||||
if(betValue < minimum) {
|
if(betValue < minimum) {
|
||||||
return minimum;
|
return min(minimum,currentHand->getSeatsList()->front()->getMyCash());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return betValue;
|
return betValue;
|
||||||
|
|||||||
Reference in new issue
Block a user