From cab797009b47f77520b8db9f8b427ba9ea14f63c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 13 Apr 2009 08:04:42 +0000 Subject: * Allow panlords to have the chaos-branded weapons. * update stash tracker after Xom's teleportation journey. * A few tweaks to Xom debug noting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9599 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index c069315785..5219d8e8a9 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -103,6 +103,7 @@ REVISION("$Rev$"); #include "spl-book.h" #include "spl-cast.h" #include "spl-util.h" +#include "stash.h" #include "state.h" #include "stuff.h" #include "tags.h" @@ -2609,13 +2610,7 @@ void world_reacts() viewwindow(true, true); - if (Options.stash_tracking && !crawl_state.arena) - { - StashTrack.update_visible_stashes( - Options.stash_tracking == STM_ALL ? StashTracker::ST_AGGRESSIVE - : StashTracker::ST_PASSIVE); - } - + maybe_update_stashes(); handle_monsters(); _check_banished(); @@ -3479,13 +3474,7 @@ static bool _initialise(void) #endif set_cursor_enabled(false); - - if (Options.stash_tracking && !crawl_state.arena) - { - StashTrack.update_visible_stashes( - Options.stash_tracking == STM_ALL ? StashTracker::ST_AGGRESSIVE - : StashTracker::ST_PASSIVE); - } + maybe_update_stashes(); // This just puts the view up for the first turn. viewwindow(true, false); -- cgit v1.2.3-54-g00ecf