full bet rule (part 3)
This commit is contained in:
@@ -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