Added player count
This commit is contained in:
@@ -134,7 +134,7 @@ void main() {
|
||||
|
||||
// DEBUG DRAW
|
||||
uint8_t tiles[10];
|
||||
for(j = 0; j < POKER_PLAYER_COUNT_MAX; j++) {
|
||||
for(j = 0; j < POKER_PLAYER_COUNT; j++) {
|
||||
mainBufferChar(POKER_PLAYERS[j].hand[0], tiles);
|
||||
mainBufferChar(POKER_PLAYERS[j].hand[1], tiles + 2);
|
||||
|
||||
@@ -175,7 +175,7 @@ void main() {
|
||||
}
|
||||
}
|
||||
|
||||
set_bkg_tiles(0x00, POKER_PLAYER_COUNT_MAX + 1, 10, 1, tiles);
|
||||
set_bkg_tiles(0x00, POKER_PLAYER_COUNT + 1, 10, 1, tiles);
|
||||
|
||||
// Tick time.
|
||||
timeUpdate();
|
||||
|
Reference in New Issue
Block a user