OSDN Git Service

Adapt to upstream changes to init_angband() and reset_visuals().
authorEric Branlund <ebranlund@fastmail.com>
Thu, 15 Apr 2021 14:37:28 +0000 (07:37 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Thu, 15 Apr 2021 14:37:28 +0000 (07:37 -0700)
src/main-cocoa.mm

index 80a1b9e..a21bb67 100644 (file)
@@ -4607,7 +4607,7 @@ static errr Term_xtra_cocoa_react(void)
            if (arg_bigtile == use_bigtile &&
                current_world_ptr->character_generated)
            {
-               reset_visuals(p_ptr, process_autopick_file_command);
+               reset_visuals(p_ptr);
            }
        }
 
@@ -4615,7 +4615,7 @@ static errr Term_xtra_cocoa_react(void)
            if (current_world_ptr->character_generated)
            {
                /* Reset visuals */
-               reset_visuals(p_ptr, process_autopick_file_command);
+               reset_visuals(p_ptr);
            }
 
            term_activate(angband_term[0]);
@@ -5878,7 +5878,7 @@ static void init_windows(void)
        p_ptr->player_egid = getegid();
 
        /* Initialise game */
-       init_angband(p_ptr, process_autopick_file_command, FALSE);
+       init_angband(p_ptr, FALSE);
 
        /* Load possible graphics modes */
        init_graphics_modes();