diff options
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 02291b4735..010d8cd626 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -236,6 +236,7 @@ private: Z thing; named_thing(const std::string &n, Z t) : name(n), thing(t) { } + operator std::string () const { return name; } }; int es_flags; |