diff options
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index 3d5866af96..1f6cc05fa4 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -56,6 +56,10 @@ public: std::string str_depth_range() const; operator raw_range () const; + operator std::string () const + { + return describe(); + } }; typedef std::pair<int,int> glyph_weighted_replacement_t; @@ -331,7 +335,7 @@ public: std::string set_item(const std::string &s, bool fix); feature_spec get_feat(); - mons_spec get_mons(); + mons_list &get_monsters(); item_list &get_items(); private: |