Fixed more betting bugs.

This commit is contained in:
2021-09-27 15:21:25 -07:00
parent d4cc907506
commit 0ccdc817de
4 changed files with 17 additions and 5 deletions

View File

@ -14,6 +14,8 @@ void pokerGameWin(poker_t *poker) {
int32_t chipsRounded, chipsDifferent;
float chipsEach;
poker->state = POKER_STATE_DECIDING_WINNER;
// Get the chips each.
chipsEach = poker->bet.pot / ((float)poker->winner.winnerCount);