From 23c5277317de657f8376d1b5f33144948a811a42 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 17 Jun 2007 17:38:36 +0000 Subject: [1738010] Stash-tracker now also tracks traps and other dungeon features. Changed env.grid to dungeon_feature_type. (The special-level builder still stores map characters directly into env.grid and then translates them to features.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1592 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/travel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/travel.h') diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 8fad985664..3ed894ecee 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -269,7 +269,7 @@ class explore_discoveries public: explore_discoveries(); - void found_feature(const coord_def &pos, int grid); + void found_feature(const coord_def &pos, dungeon_feature_type grid); void found_item(const coord_def &pos, const item_def &item); // Reports discoveries and prompts the player to stop (if necessary). @@ -277,7 +277,7 @@ public: private: template void say_any(const C &coll, const char *stub) const; - std::string cleaned_feature_description(int feature) const; + std::string cleaned_feature_description(dungeon_feature_type feature) const; void add_item(const item_def &item); private: -- cgit v1.2.3-54-g00ecf