Moved some more code around
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user