diff options
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 158d8191da..120f9de79c 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2283,7 +2283,8 @@ void describe_monsters(monsters& mons) break; } case MONS_PLAYER_GHOST: - description << "The apparition of " << ghost_description(mons) << ".$"; + description << "The apparition of " << get_ghost_description(mons) + << ".$"; break; case MONS_PANDEMONIUM_DEMON: @@ -2366,16 +2367,10 @@ void describe_monsters(monsters& mons) getch(); } // end describe_monsters -//--------------------------------------------------------------- -// -// ghost_description -// // Describes the current ghost's previous owner. The caller must // prepend "The apparition of" or whatever and append any trailing // punctuation that's wanted. -// -//--------------------------------------------------------------- -std::string ghost_description(const monsters &mons, bool concise) +std::string get_ghost_description(const monsters &mons, bool concise) { ASSERT(mons.ghost.get()); std::ostringstream gstr; |