summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-08 18:58:01 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-08 18:58:26 +1000
commit1f8eaa7055fd9bddf12b37f1c258106185c34969 (patch)
tree9bfb7f923087ab82b9f96026aca9d75314aa17fb /crawl-ref/source/monster.cc
parent1e193cb797ba5696c952ba05420220339e60a668 (diff)
downloadcrawl-ref-1f8eaa7055fd9bddf12b37f1c258106185c34969.tar.gz
crawl-ref-1f8eaa7055fd9bddf12b37f1c258106185c34969.zip
Mara's summoned ghosts are "illusions".
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index d01d713bff..4667599a33 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -2087,7 +2087,12 @@ static std::string _str_monam(const monsters& mon, description_level_type desc,
return (get_monster_data(type)->name);
if (type == MONS_PLAYER_GHOST)
- return (apostrophise(mon.mname) + " ghost");
+ {
+ if (mon.is_summoned())
+ return (apostrophise(mon.mname) + " illusion");
+ else
+ return (apostrophise(mon.mname) + " ghost");
+ }
// Some monsters might want the name of a different creature.
monster_type nametype = type;