summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 00:15:38 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 00:22:22 +0100
commit56bdc43adbfa5070e786e1c6683e87348be95530 (patch)
treef8f4c18deb6e504bcd54cf8795264adee4068bad /crawl-ref/source/monster.cc
parentab90ed61c319032f1163675c88ddbe0ef0d33072 (diff)
downloadcrawl-ref-56bdc43adbfa5070e786e1c6683e87348be95530.tar.gz
crawl-ref-56bdc43adbfa5070e786e1c6683e87348be95530.zip
Make slime creatures split in open space.
I removed an "unoccupied" because a comment claimed this shouldn't matter for splitting and also because doing so seemed to have the desired effect. I also added a check to make sure that splitting only takes place if it doesn't increase the distance to the foe, other adjacent cells are fine of course. With these changes, luring merged slime creatures into open areas causes them to split.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index 8e3cb130ee..a5a02be458 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -2210,9 +2210,7 @@ static std::string _str_monam(const monsters& mon, description_level_type desc,
}
if (type == MONS_BALLISTOMYCETE && desc != DESC_DBNAME)
- {
result += mon.number ? "active " : "";
- }
// Done here to cover cases of undead versions of hydras.
if (mons_species(nametype) == MONS_HYDRA