From 5a640db5e6912d1e15822780ec799190e18c85f6 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 15 Jun 2008 18:46:00 +0000 Subject: Fix [1928206] by taking wasp's suggestion of moving spawn_random_monsters() from world_reacts() to handle_time(), so that, in terms of game time, it's done at the same rate as other events. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5856 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 2 -- crawl-ref/source/effects.cc | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 30facdb12e..4b112ae7e6 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3214,8 +3214,6 @@ static void _world_reacts() if (you.cannot_act() && any_messages()) more(); - - spawn_random_monsters(); } #ifdef DGL_SIMPLE_MESSAGING diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 066a1fba06..98e887bafb 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2675,6 +2675,8 @@ void handle_time(long time_delta) exercise(SK_STEALTH, 1); } } + + spawn_random_monsters(); } // Move monsters around to fake them walking around while player was -- cgit v1.2.3-54-g00ecf