diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-06 16:47:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-06 16:47:42 +0000 |
commit | 58ac4b5e85d0d11952322ef72558f538519b77c0 (patch) | |
tree | 47c569cc2c7736516b21d49b12172e99dbe8fa6e /crawl-ref/source/spells3.cc | |
parent | 097c7f86adf076d550b446212ac80bf1aa43715f (diff) | |
download | crawl-ref-58ac4b5e85d0d11952322ef72558f538519b77c0.tar.gz crawl-ref-58ac4b5e85d0d11952322ef72558f538519b77c0.zip |
Consolidate the routines for naming zombified uniques.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8270 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 0e7f9fdefe..293a1995f5 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -830,15 +830,8 @@ static bool _raise_remains(const coord_def &a, int corps, beh_type beha, { const int monnum = item.orig_monnum - 1; - if (mons_is_unique(monnum)) - { - menv[monster].mname = origin_monster_name(item); - - // Special case for Blork the orc: shorten his name to "Blork" - // to avoid mentions of "Blork the orc the orc skeleton". - if (monnum == MONS_BLORK_THE_ORC) - menv[monster].mname = "Blork"; - } + name_zombified_unique(&menv[monster], monnum, + origin_monster_name(item)); _equip_undead(a, corps, monster, monnum); |