diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-17 14:48:04 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-17 14:50:12 -0800 |
commit | 3a6efa8421c1461ae7b8191d3ac57a819abe5eb4 (patch) | |
tree | c5f17a963a123f70cfaca2f86bc86340ab2eedac /crawl-ref/source/main.cc | |
parent | 3a85576b56a1c3098689d2f588950908c981492d (diff) | |
download | crawl-ref-3a6efa8421c1461ae7b8191d3ac57a819abe5eb4.tar.gz crawl-ref-3a6efa8421c1461ae7b8191d3ac57a819abe5eb4.zip |
Bug 2899436: Seen tiles not drawn on load game
Seems adding "you.update_los();" right before "viewwindow()" in
_initialise() fixes the problem.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r-- | crawl-ref/source/main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 75e7d3cb1f..bfe10cfc39 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -3847,6 +3847,7 @@ static bool _initialise(void) maybe_update_stashes(); // This just puts the view up for the first turn. + you.update_los(); // Needed for tiles to draw in-LOS terrain. viewwindow(false); activate_notes(true); |