summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2013-11-30 00:12:02 +0100
committerRaphael Langella <raphael.langella@gmail.com>2013-11-30 00:41:16 +0100
commit8471a022e76bae39918ba6eaa1fbbab5c7ceb64f (patch)
tree8baf38a5af7637040801a09604cb7519040cf209 /crawl-ref/source/state.h
parentcf2260f169a7bf134e63f2d08526739656ca7716 (diff)
downloadcrawl-ref-8471a022e76bae39918ba6eaa1fbbab5c7ceb64f.tar.gz
crawl-ref-8471a022e76bae39918ba6eaa1fbbab5c7ceb64f.zip
Delay more prompt until level has finished loading.
Getting a more prompt during level load results in a screen only partially updated and looking really bugged. It's especially bad since it happened during loading tutorial levels which is the very first thing many new player see. It also happened when entering a level with an announce portal. If there are more cases, I didn't test them.
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 34cb87c459..c3684a05be 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -56,6 +56,8 @@ struct game_state
bool arena_suspended; // Set if the arena has been temporarily
// suspended.
bool generating_level;
+ bool loading_level;
+ bool delayed_more;
bool dump_maps; // Dump map Lua to stderr on fresh parse.
bool test; // Set if we want to run self-tests and exit.