Moved some more code around

This commit is contained in:
2021-05-17 08:10:29 -07:00
parent a97933d366
commit e864502f6a
7 changed files with 27 additions and 49 deletions

View File

@ -36,8 +36,8 @@ void actionRoundInit(int32_t index, void *data) {
// Clear Round State(s)
player->state &= ~(
GAME_STATE_FOLDED |
GAME_STATE_SHOWING
POKER_PLAYER_STATE_FOLDED |
POKER_PLAYER_STATE_SHOWING
);
player->cardCount = 0;

View File

@ -42,7 +42,7 @@ void holdemRenderWorld() {
seat = holdemRenderPlayerGetSeatForPlayer(i);
holdemRenderPlayer(seat);
if(player->state & GAME_STATE_FOLDED) continue;
if(player->state & POKER_PLAYER_STATE_SHOWING) continue;
for(j = 0x00; j < player->cardCount; j++) {
holdemRenderCardForSeat(seat, player->cards[j], HOLDEM_GAME_CARD_SLOT_HAND0+j);