summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 6d04364a87..3981bf2aa4 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -447,6 +447,11 @@ void game_state::dump()
fprintf(stderr, EOL);
+ // Arena mode can change behavior of the rest of the code and/or lead
+ // to asserts.
+ unwind_bool _arena(arena, false);
+ unwind_bool _arena_suspended(arena_suspended, false);
+
if (!startup_errors.empty())
{
fprintf(stderr, "Startup errors:" EOL);