Fixed argument on calls to obj_unhide (#562)

This commit is contained in:
MeirGavish
2026-06-16 18:23:00 -07:00
committed by GitHub
parent 751a547059
commit d2cdc7af1b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ void game_blind_select_change_background(void)
{
for (int i = 0; i < NUM_BLINDS_PER_ANTE; i++)
{
obj_unhide(blind_select_tokens[i]->obj, 0);
obj_unhide(blind_select_tokens[i]->obj, ATTR0_REG);
}
// Default y position for the blind select tokens. 12 is the amount of tiles the background
+1 -1
View File
@@ -118,7 +118,7 @@ static void game_round_end_start_expand_popup(void)
static void game_round_end_display_finished_blind(void)
{
obj_unhide(g_game_vars.round_end_blind_token->obj, 0);
obj_unhide(g_game_vars.round_end_blind_token->obj, ATTR0_REG);
int current_ante = g_game_vars.ante;
+2 -2
View File
@@ -634,7 +634,7 @@ void game_run_setup_on_exit(void)
static void choose_deck_substate_init(void)
{
// Show Deck sprite, name and TODO: description
obj_unhide(run_setup_deck->sprite_object->sprite->obj, 0);
obj_unhide(run_setup_deck->sprite_object->sprite->obj, ATTR0_AFF);
print_deck_name(g_game_vars.deck, RUN_SETUP_DECK_NAME_TEXT_POS);
print_deck_description(g_game_vars.deck, RUN_SETUP_DECK_DESC_TEXT_POS);
@@ -1094,7 +1094,7 @@ static void resume_substate_init(void)
tab_set_highlight(RUN_SETUP_TAB_RESUME);
// Show Deck card sprite
obj_unhide(run_setup_deck->sprite_object->sprite->obj, 0);
obj_unhide(run_setup_deck->sprite_object->sprite->obj, ATTR0_AFF);
}
// COMMON BUTTONS