From 38cb4b1f9f75c3695a14723f129aa795a5d72b4f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 4 Dec 2006 23:54:14 +0000 Subject: [1603670] Altars and portals can now be found by the stash search. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@569 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stash.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/stash.h') diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index 9727102067..58c6d3ce2a 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -159,10 +159,8 @@ private: struct stash_search_result { - // What level is this stash or shop on. - level_id level; - - coord_def pos; + // Where's this thingummy of interest. + level_pos pos; // Number of levels the player must cross to reach the level the stash/shop // is on. @@ -178,11 +176,11 @@ struct stash_search_result // First item in stash that matched std::string match; - // The stash or shop in question. + // The stash or shop in question. Both can be null if this is a feature. const Stash *stash; const ShopInfo *shop; - stash_search_result() : level(), player_distance(0), matches(0), + stash_search_result() : pos(), player_distance(0), matches(0), count(0), match(), stash(NULL), shop(NULL) { } -- cgit v1.2.3-54-g00ecf