summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 849f754946..02ce386d18 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -277,6 +277,12 @@ int main( int argc, char *argv[] )
else
learned_something_new(TUT_LOAD_SAVED_GAME);
+ // Catch up on any experience levels we did not assign last time. This
+ // can happen if Crawl sees SIGHUP while it is waiting for the player
+ // to dismiss a level-up prompt.
+ _prep_input();
+ level_change();
+
while (true)
_input();