Refactor struct part 2.
This commit is contained in:
@ -24,14 +24,14 @@ void pokerInit(poker_t *poker) {
|
||||
poker->players[x].currentBet = 0;
|
||||
}
|
||||
|
||||
pokerRoundInit();
|
||||
pokerRoundInit(poker);
|
||||
}
|
||||
|
||||
void pokerRoundInit(poker_t *poker) {
|
||||
uint8_t x;
|
||||
|
||||
// Refill the deck
|
||||
cardDeckFill(&poker->deck);
|
||||
cardDeckFill(poker->deck);
|
||||
poker->deckSize = CARD_DECK_SIZE;
|
||||
|
||||
// Reset the players
|
||||
|
Reference in New Issue
Block a user