summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 397bd510ef..d8cd566a29 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -59,6 +59,8 @@ struct game_state
bool arena_suspended; // Set if the arena has been temporarily
// suspended.
+ bool test; // Set if we want to run self-tests and exit.
+
bool unicode_ok; // Is unicode support available?
std::string (*glyph2strfn)(unsigned glyph);