summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc20
1 files changed, 14 insertions, 6 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 63b9a6f0be..0c1f05d43b 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -1080,13 +1080,21 @@ static void _define_zombie( int mid, monster_type ztype,
if (zombie_size != -1 && mons_zombie_size(cls) != zombie_size)
continue;
- // Skeletal or icy draconians shouldn't be coloured.
- // How could you tell?
- if ((cs == MONS_SKELETON_SMALL || cs == MONS_SIMULACRUM_SMALL)
- && mons_genus(cls) == MONS_DRACONIAN
- && cls != MONS_DRACONIAN)
+ if (cs == MONS_SKELETON_SMALL || cs == MONS_SIMULACRUM_SMALL)
{
- cls = MONS_DRACONIAN;
+ // Skeletal or icy draconians shouldn't be coloured.
+ // How could you tell?
+ if (mons_genus(cls) == MONS_DRACONIAN
+ && cls != MONS_DRACONIAN)
+ {
+ cls = MONS_DRACONIAN;
+ }
+ // The same goes for rats.
+ else if (mons_genus(cls) == MONS_RAT
+ && cls != MONS_RAT)
+ {
+ cls = MONS_RAT;
+ }
}
// Hack -- non-dungeon zombies are always made out of nastier