summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index ad7701530e..a9bfdeb5f8 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -23,6 +23,7 @@
#include "mon-util.h"
#include "player.h"
#include "religion.h"
+#include "state.h"
#include "stuff.h"
#include "spells4.h"
#include "terrain.h"
@@ -226,6 +227,9 @@ static void _hell_spawn_random_monsters()
// one_chance_in(value) checks with the new x_chance_in_y(5, value). (jpeg)
void spawn_random_monsters()
{
+ if (crawl_state.arena)
+ return;
+
#ifdef DEBUG_MON_CREATION
mpr("in spawn_random_monsters()", MSGCH_DIAGNOSTICS);
#endif