diff options
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r-- | crawl-ref/source/stash.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index b0555abe6a..962883da9d 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -24,7 +24,6 @@ #include "menu.h" #include "message.h" #include "misc.h" -#include "notes.h" #include "overmap.h" #include "place.h" #include "shopping.h" @@ -394,7 +393,6 @@ public: StashMenu() : InvMenu(MF_SINGLESELECT), can_travel(false) { set_type(MT_PICKUP); - set_tag("stash"); // override "inventory" tag } unsigned char getkey() const; public: @@ -565,7 +563,6 @@ void Stash::write(std::ostream &os, bool identify) const { - activate_notes(false); if (!enabled || (items.size() == 0 && verified)) return; os << "(" << ((int) x - refx) << ", " << ((int) y - refy) << (place.length()? ", " + place : "") @@ -619,7 +616,6 @@ void Stash::write(std::ostream &os, if (items.size() <= 1 && !verified) os << " (unseen)" << std::endl; - activate_notes(true); } void Stash::save(FILE *file) const @@ -875,7 +871,6 @@ bool ShopInfo::matches_search(const std::string &prefix, void ShopInfo::write(std::ostream &os, bool identify) const { - activate_notes(false); os << "[Shop] " << name << std::endl; if (items.size() > 0) { @@ -896,7 +891,6 @@ void ShopInfo::write(std::ostream &os, bool identify) const os << " (Shop is empty)" << std::endl; else os << " (Shop contents are unknown)" << std::endl; - activate_notes(true); } void ShopInfo::save(FILE *file) const @@ -1542,7 +1536,6 @@ void StashTracker::display_search_results( bool travelable = can_travel_interlevel(); StashSearchMenu stashmenu; - stashmenu.set_tag("stash"); stashmenu.can_travel = travelable; std::string title = "match"; |