summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/startup.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-03 13:18:31 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-03 13:18:31 +0100
commit8c39b8ecec30c732b1992bc5dda37c18452aafce (patch)
tree0ff32fa2c8d4fd57575b83dfe7cb237f95d2118e /crawl-ref/source/startup.cc
parenta7eb7c73565d0573719b88fd5586e16e356677fb (diff)
downloadcrawl-ref-8c39b8ecec30c732b1992bc5dda37c18452aafce.tar.gz
crawl-ref-8c39b8ecec30c732b1992bc5dda37c18452aafce.zip
Revert "Delay more prompt until level has finished loading."
While the problem this commit attempts to fix is real, I'm afraid it causes more breakage: * it removes debug messages from map generation * especially, infinite loops become extremely hard to debug * loses output that overflows * has issues with force_more * portal vault announcements are lost For example, a level with both a Lab and an Ice Cave shows just: "There is an entrance to an ice cave on this level. Hurry and find it before the portal melts!" even though there's no overflow. The rest (the main "wave of frost" message and anything about the Lab) are gone. I'm afraid some other approach is needed. Perhaps forcing a screen draw? This reverts commit 8471a022e76bae39918ba6eaa1fbbab5c7ceb64f.
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r--crawl-ref/source/startup.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc
index bf3eeea8ce..f5ea04e319 100644
--- a/crawl-ref/source/startup.cc
+++ b/crawl-ref/source/startup.cc
@@ -311,6 +311,11 @@ static void _post_init(bool newc)
viewwindow();
activate_notes(true);
+
+ // XXX: And run Lua map postludes for D:1. Kinda hacky, it shouldn't really
+ // be here.
+ if (newc)
+ run_map_epilogues();
}
#ifndef DGAMELAUNCH