summaryrefslogtreecommitdiff
path: root/src/dungeon.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-20 19:54:48 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-20 19:55:50 +0100
commit420428c53fe83064331ac2e06297c8a93abc93cf (patch)
tree4d30f5b8a67036c0fe91f8fdc11e01ba898bddbb /src/dungeon.c
parente04284dc9694c53314403536a27992a9cfc655a2 (diff)
Remove CHECK_LOAD and CHECK_TIME completely.
Diffstat (limited to 'src/dungeon.c')
-rw-r--r--src/dungeon.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/dungeon.c b/src/dungeon.c
index b94ae68e..716bc8ac 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -1126,47 +1126,6 @@ static void process_world(void)
}
}
- /*** Check the Time and Load ***/
-
- /*
- * Every 1000 game turns -- which means this section is invoked every
- * 100 player turns under the normal speed, and slightly more than
- * one per move in the reduced map.
- */
- if ((turn % 1000) == 0)
- {
- /* Check time and load */
- if ((0 != check_time()) || (0 != check_load()))
- {
- /* Warning */
- if (closing_flag <= 2)
- {
- /* Disturb */
- disturb(0, 0);
-
- /* Count warnings */
- closing_flag++;
-
- /* Message */
- msg_print("The gates to Middle Earth are closing...");
- msg_print("Please finish up and/or save your game.");
- }
-
- /* Slam the gate */
- else
- {
- /* Message */
- msg_print("The gates to Middle Earth are now closed.");
-
- /* Stop playing */
- alive = FALSE;
-
- /* Leaving */
- p_ptr->leaving = TRUE;
- }
- }
- }
-
/*** Attempt timed autosave ***/
if (autosave_t && autosave_freq)
{