diff options
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 70fa4e2fe1..c8f20d1cf0 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1012,7 +1012,7 @@ static void _origin_freeze(item_def &item, int x, int y) } } -static std::string _origin_monster_name(const item_def &item) +std::string origin_monster_name(const item_def &item) { const int monnum = item.orig_monnum - 1; if (monnum == MONS_PLAYER_GHOST) @@ -1022,11 +1022,6 @@ static std::string _origin_monster_name(const item_def &item) return mons_type_name(monnum, DESC_NOCAP_A); } -static std::string _origin_monster_desc(const item_def &item) -{ - return (_origin_monster_name(item)); -} - static std::string _origin_place_desc(const item_def &item) { return prep_branch_level_name(item.orig_place); @@ -1114,7 +1109,7 @@ std::string origin_desc(const item_def &item) else { desc += "You took " + _article_it(item) + " off " - + _origin_monster_desc(item) + " "; + + origin_monster_name(item) + " "; } } else |