summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 18:46:00 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 18:46:00 +0000
commit5a640db5e6912d1e15822780ec799190e18c85f6 (patch)
treea024cd50b499c6c4da5a6231fc4edd91f097e6d4 /crawl-ref/source/effects.cc
parentd6e2f77b10192e765011097444a5abef03421eb5 (diff)
downloadcrawl-ref-5a640db5e6912d1e15822780ec799190e18c85f6.tar.gz
crawl-ref-5a640db5e6912d1e15822780ec799190e18c85f6.zip
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
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 2 insertions, 0 deletions
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