OSDN Git Service

[Refactor] #37353 以前取り除いた,古い強制終了処理の残滓を改めて削除.
authordeskull <deskull@users.sourceforge.jp>
Tue, 30 Apr 2019 10:54:16 +0000 (19:54 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 30 Apr 2019 10:54:16 +0000 (19:54 +0900)
src/core.c
src/externs.h
src/variable.c

index 0fde23d..20a71ef 100644 (file)
@@ -3128,38 +3128,6 @@ static void process_world(void)
        /* Every 10 game turns */
        if (current_world_ptr->game_turn % TURNS_PER_TICK) return;
 
-       /*** Check the Time and Load ***/
-
-       if (!(current_world_ptr->game_turn % (50*TURNS_PER_TICK)))
-       {
-               /* Check time and load */
-               if ((0 != check_time()) || (0 != check_load()))
-               {
-                       /* Warning */
-                       if (closing_flag <= 2)
-                       {
-                               disturb(FALSE, TRUE);
-
-                               /* Count warnings */
-                               closing_flag++;
-
-                               msg_print(_("アングバンドへの門が閉じかかっています...", "The gates to ANGBAND are closing..."));
-                               msg_print(_("ゲームを終了するかセーブするかして下さい。", "Please finish up and/or save your game."));
-
-                       }
-
-                       /* Slam the gate */
-                       else
-                       {
-                               msg_print(_("今、アングバンドへの門が閉ざされました。", "The gates to ANGBAND are now closed."));
-
-                               /* Stop playing */
-                               p_ptr->playing = FALSE;
-                               p_ptr->leaving = TRUE;
-                       }
-               }
-       }
-
        /*** Attempt timed autosave ***/
        if (autosave_t && autosave_freq && !p_ptr->inside_battle)
        {
index f15947e..c058349 100644 (file)
@@ -177,7 +177,6 @@ extern bool is_fired;
 
 extern char record_o_name[MAX_NLEN];
 extern GAME_TURN record_turn;
-extern bool closing_flag;
 extern POSITION panel_row_min, panel_row_max;
 extern POSITION panel_col_min, panel_col_max;
 extern POSITION panel_col_prt, panel_row_prt;
index 6761f15..4414dc2 100644 (file)
@@ -147,15 +147,6 @@ int total_friends = 0;
 int leaving_quest = 0;
 bool reinit_wilderness = FALSE;
 
-
-
-/*
- * Dungeon variables
- */
-
-bool closing_flag;             /* Dungeon is closing */
-
-
 /*
  * Dungeon size info
  */