diff options
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 929f11ae81..50809bdd9b 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1687,7 +1687,7 @@ static bool _find_mlist( const coord_def& where, int idx, bool need_path, continue; real_idx++; - } + } monsters *mon = &menv[targ_mon]; @@ -2783,11 +2783,8 @@ std::string get_monster_desc(const monsters *mon, bool full_desc, // Note that the only difference between DESC_BASENAME and DESC_PLAIN // is that basename will ignore mname, so the monster _must_ be named // for this to make any sense. - if (!(mon->mname).empty() && desc != mon->name(DESC_BASENAME) - && mon->type != MONS_PLAYER_GHOST) - { + if (mon->has_base_name()) desc += " the " + mon->name(DESC_BASENAME); - } if (print_attitude) { |