summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-21 02:11:46 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-03-21 02:46:41 +0100
commitd0ed0c66e54464ab94317682327a84aa4122fad0 (patch)
treeb4a602d2c5922bc078f07c48b2eee4483d7da9a4 /crawl-ref/source/showsymb.cc
parent630cb13277100dd2dfbdd6881b64086b5580405f (diff)
downloadcrawl-ref-d0ed0c66e54464ab94317682327a84aa4122fad0.tar.gz
crawl-ref-d0ed0c66e54464ab94317682327a84aa4122fad0.zip
Remove the small/large zombie distinction.
It leads to no end of problems, and its only purpose was showing 'z'/'Z' glyphs. Note: custom monster glyphs on the main screen are broken since af76f80.
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index aee7fb5224..49d60a9fea 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -473,6 +473,21 @@ cglyph_t get_mons_glyph(const monster_info& mi)
g.ch = mi.props["glyph"].get_int();
else if (mi.type == MONS_SLIME_CREATURE && mi.number > 1)
g.ch = mons_char(MONS_MERGED_SLIME_CREATURE);
+ else if (mi.type == MONS_ZOMBIE)
+ {
+ g.ch = mons_char(mons_zombie_size(mi.base_type) == Z_BIG ?
+ MONS_ZOMBIE_LARGE : MONS_ZOMBIE_SMALL);
+ }
+ else if (mi.type == MONS_SKELETON)
+ {
+ g.ch = mons_char(mons_zombie_size(mi.base_type) == Z_BIG ?
+ MONS_SKELETON_LARGE : MONS_SKELETON_SMALL);
+ }
+ else if (mi.type == MONS_SIMULACRUM)
+ {
+ g.ch = mons_char(mons_zombie_size(mi.base_type) == Z_BIG ?
+ MONS_SIMULACRUM_LARGE : MONS_SIMULACRUM_SMALL);
+ }
else if (mi.type == MONS_SENSED)
g.ch = mons_char(mi.base_type);
else