diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-12 23:03:13 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-12 23:03:41 -0800 |
commit | 31c5d4f42ba8930dc5758658a5c59d99b0290ed5 (patch) | |
tree | 8ae83cbca4e6b3aa7bf3d43bb2cb5a5b6363d173 /crawl-ref/source/wiz-mon.cc | |
parent | 63beb01e92ddefa8708b80316fcf27081afe3a06 (diff) | |
download | crawl-ref-31c5d4f42ba8930dc5758658a5c59d99b0290ed5.tar.gz crawl-ref-31c5d4f42ba8930dc5758658a5c59d99b0290ed5.zip |
wiz-mon.cc: fix monser color always being random
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r-- | crawl-ref/source/wiz-mon.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc index 3701d344a0..f25d064095 100644 --- a/crawl-ref/source/wiz-mon.cc +++ b/crawl-ref/source/wiz-mon.cc @@ -97,6 +97,9 @@ void wizard_create_spec_monster_name() return; } + if (mspec.colour == BLACK && strstr(specs, "col:any") == NULL) + mspec.colour = mons_class_colour(mspec.mid); + int type = mspec.mid; if (mons_class_is_zombified(mspec.mid)) type = mspec.monbase; |