Fixed betting bugs.

This commit is contained in:
2021-09-27 14:27:13 -07:00
parent fff60c5768
commit d04c5f6505
22 changed files with 169 additions and 62 deletions

View File

@ -336,7 +336,7 @@ void pokerWinnerCalculate(
left = winner->winnings + i;
left->type = POKER_WINNING_TYPE_NULL;
player = players + i;
if(!pokerPlayerIsAlive(player)) continue;
if(!pokerPlayerIsInRound(player)) continue;
// Get the players' winning state.
pokerWinnerPlayerGet(dealer, player, left);