diff options
author | Neil Moore <neil@s-z.org> | 2013-06-06 21:08:16 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-06-06 21:09:11 -0400 |
commit | 0f56f737304c90b0d8921a092d48e3ccf3771aa1 (patch) | |
tree | e28957cef591c6d17b376c38d53fe8a1400bf89e /crawl-ref/source/startup.cc | |
parent | e03bc23d4ededba17495d25e5495a0ca829f68a9 (diff) | |
download | crawl-ref-0f56f737304c90b0d8921a092d48e3ccf3771aa1.tar.gz crawl-ref-0f56f737304c90b0d8921a092d48e3ccf3771aa1.zip |
Don't crash on startup.
We can't redraw the screen before the level is loaded.
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r-- | crawl-ref/source/startup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc index 64f870e4ff..f34585d55d 100644 --- a/crawl-ref/source/startup.cc +++ b/crawl-ref/source/startup.cc @@ -224,8 +224,8 @@ static void _post_init(bool newc) level_id old_level; old_level.branch = NUM_BRANCHES; - handle_terminal_resize(true); // resize HUD now that we know player species - // and game mode + handle_terminal_resize(false); // resize HUD now that we know player + // species and game mode load_level(you.entering_level ? you.transit_stair : DNGN_STONE_STAIRS_DOWN_I, you.entering_level ? LOAD_ENTER_LEVEL : |