Fixed argument on calls to obj_unhide (#562)
This commit is contained in:
@@ -494,7 +494,7 @@ void game_blind_select_change_background(void)
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < NUM_BLINDS_PER_ANTE; i++)
|
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
|
// Default y position for the blind select tokens. 12 is the amount of tiles the background
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ static void game_round_end_start_expand_popup(void)
|
|||||||
|
|
||||||
static void game_round_end_display_finished_blind(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;
|
int current_ante = g_game_vars.ante;
|
||||||
|
|
||||||
|
|||||||
@@ -634,7 +634,7 @@ void game_run_setup_on_exit(void)
|
|||||||
static void choose_deck_substate_init(void)
|
static void choose_deck_substate_init(void)
|
||||||
{
|
{
|
||||||
// Show Deck sprite, name and TODO: description
|
// 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_name(g_game_vars.deck, RUN_SETUP_DECK_NAME_TEXT_POS);
|
||||||
print_deck_description(g_game_vars.deck, RUN_SETUP_DECK_DESC_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);
|
tab_set_highlight(RUN_SETUP_TAB_RESUME);
|
||||||
|
|
||||||
// Show Deck card sprite
|
// 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
|
// COMMON BUTTONS
|
||||||
|
|||||||
Reference in New Issue
Block a user