From fb7b7bbe383355e51f3a839758b8445835afcfc5 Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Tue, 12 Jan 2010 22:29:40 +0100 Subject: 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. --- crawl-ref/source/main.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref') 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(); -- cgit v1.2.3-54-g00ecf