Fixed more betting bugs.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user