summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-15 17:01:29 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 17:01:29 +1000
commit177b2ec86c1cbeb7784e8bad75834af727ec67a7 (patch)
tree3ce185e1f304a43a58be813b5cef754d3f7e4349 /crawl-ref/source/describe.cc
parent5bba7e89fd395a2cde9cbf596208785508e22331 (diff)
downloadcrawl-ref-177b2ec86c1cbeb7784e8bad75834af727ec67a7.tar.gz
crawl-ref-177b2ec86c1cbeb7784e8bad75834af727ec67a7.zip
Fix string fetching from CrawlHashTable.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 2dfb3218d3..1ccfd0a5d7 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2770,7 +2770,7 @@ void get_monster_db_desc(const monsters& mons, describe_info &inf,
// descriptions in Lua vaults by using MonPropsMarker. This is also the
// method used by set_feature_desc_long, etc. {due}
if (mons.props.exists("description"))
- inf.body << std::string(mons.props["description"]);
+ inf.body << mons.props["description"].get_string();
// Don't get description for player ghosts.
else if (mons.type != MONS_PLAYER_GHOST)
inf.body << getLongDescription(db_name);