Fixed more betting bugs.

This commit is contained in:
YourWishes committed 2021-09-27 15:21:25 -07:00
1 parent d4cc907506
commit 0ccdc817de
4 files changed
+17 -5

No files matched your search

+2
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);