diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-19 20:29:52 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-19 20:29:52 +0000 |
commit | a2f3fb49a09de44357a61d09461d7e73412374df (patch) | |
tree | 8c7f2069c82802340b749c66679ddded7ecd002d /crawl-ref | |
parent | 9a91411815521f26dd13bf91c93b14e9db7d011b (diff) | |
download | crawl-ref-a2f3fb49a09de44357a61d09461d7e73412374df.tar.gz crawl-ref-a2f3fb49a09de44357a61d09461d7e73412374df.zip |
[2773914] Fixing the "Edmund the Edmund comes into view" message.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9662 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/delay.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index 3c5083ba5b..f28cc5c3d5 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -1839,10 +1839,7 @@ inline static bool _monster_warning(activity_interrupt_type ai, if (need_auto_exclude(mon) && !is_exclude_root(mon->pos())) toggle_exclude(mon->pos()); - std::string text = mon->name(DESC_CAP_A); - // For named monsters also mention the base type. - if (!(mon->mname).empty() && mon->type != MONS_PLAYER_GHOST) - text += " the " + mon->name(DESC_BASENAME); + std::string text = mon->full_name(DESC_CAP_A); if (starts_with(at.context, "open")) text += " " + at.context; |