Refactor struct part 2.

This commit is contained in:
YourWishes committed 2021-05-20 22:35:50 -07:00
1 parent 5ae1f1c0d4
commit f6a4be2f3c
18 files changed
+61 -214

No files matched your search

+2 -2
View File
@@ -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