summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 22:29:40 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 22:29:40 +0100
commitfb7b7bbe383355e51f3a839758b8445835afcfc5 (patch)
treea8693e1e0a045e5041aebbd9c874a34825d32c80 /crawl-ref
parentf91590d9812ba01594d5d72e057457c9869afa67 (diff)
downloadcrawl-ref-fb7b7bbe383355e51f3a839758b8445835afcfc5.tar.gz
crawl-ref-fb7b7bbe383355e51f3a839758b8445835afcfc5.zip
Fix stash tracker not being fully up-to-date at game start.
Fixes BR 2929449: Ctrl-X not knowing about items in los, and Mantis BR 134: upstairs not marked as unvisited.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index b88c8d6862..f4df99c9bb 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -275,6 +275,9 @@ int main( int argc, char *argv[] )
// Activate markers only after the welcome message, so the
// player can see any resulting messages.
env.markers.activate_all();
+ // Call again to make Ctrl-X work correctly for items
+ // in los on turn 0.
+ maybe_update_stashes();
if (game_start && you.char_class == JOB_WANDERER)
_wanderer_startup_message();