summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-10-30 20:26:40 -0400
committerCharles Otto <ottochar@gmail.com>2009-10-30 20:31:32 -0400
commitd315563b40b4ae8bfd193e6f58f92769cc786eb4 (patch)
treeb1908275f89eb7886ece94320322f7642ea7a391 /crawl-ref/source/mon-info.cc
parent38e8db8e3cac259d645dfe8ad9589165273a0171 (diff)
downloadcrawl-ref-d315563b40b4ae8bfd193e6f58f92769cc786eb4.tar.gz
crawl-ref-d315563b40b4ae8bfd193e6f58f92769cc786eb4.zip
Merge a change to monster_info that got lost somehow.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r--crawl-ref/source/mon-info.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc
index 11d29c090c..ecca1cc1be 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -111,6 +111,11 @@ bool monster_info::less_than(const monster_info& m1,
if (m1type == MONS_DANCING_WEAPON)
return (false);
+ if(m1type == MONS_SLIME_CREATURE)
+ {
+ return (m1.m_mon->number > m2.m_mon->number);
+ }
+
if (zombified)
{
// Because of the type checks above, if one of the two is zombified, so