OSDN Git Service

[Refactor] #38997 disterb() に player_type * 引数を追加. / Add player_type * argument to...
[hengband/hengband.git] / src / files.c
index b5c6786..c0bacec 100644 (file)
@@ -5975,7 +5975,7 @@ void do_cmd_save_game(int is_autosave)
        }
        else
        {
-               disturb(TRUE, TRUE);
+               disturb(p_ptr, TRUE, TRUE);
        }
 
        /* Clear messages */
@@ -6516,7 +6516,7 @@ void exit_game_panic(void)
        prt("", 0, 0);
 
        /* Hack -- current_world_ptr->game_turn off some things */
-       disturb(TRUE, TRUE);
+       disturb(p_ptr, TRUE, TRUE);
 
        /* Mega-Hack -- Delay death */
        if (p_ptr->chp < 0) p_ptr->is_dead = FALSE;