diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 1549cbcc37..23aa7cd34f 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3193,8 +3193,20 @@ static void _world_reacts() _check_banished(); } else + { + const long old_synch_time = you.synch_time; you.synch_time -= you.time_taken; + // Call spawn_random_monsters() more often than the rest of + // handle_time() so the spawning rates work out correctly. + if (old_synch_time >= 150 && you.synch_time < 150 + || old_synch_time >= 100 && you.synch_time < 100 + || old_synch_time >= 50 && you.synch_time < 50) + { + spawn_random_monsters(); + } + } + manage_clouds(); if (you.duration[DUR_FIRE_SHIELD] > 0) |