diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-29 19:44:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-29 19:44:39 +0000 |
commit | e66c77b50df3c0c91837b52b9e61c8235a96c685 (patch) | |
tree | e780b4b6696564f4cf3a5763987bd776ff064537 /crawl-ref/source/monstuff.cc | |
parent | 4dc30336a62ec7e8261253fc0b9c0674efda1555 (diff) | |
download | crawl-ref-e66c77b50df3c0c91837b52b9e61c8235a96c685.tar.gz crawl-ref-e66c77b50df3c0c91837b52b9e61c8235a96c685.zip |
Apply caotto's neat patch to make toadstools grow on or around corpses.
Obviously, this might affect food balance and Necromancy. Tweaks may be
necessary, but overall this looks good.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10077 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index ccc1526130..d0fee93312 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -2704,7 +2704,8 @@ void behaviour_event(monsters *mon, mon_event_type event, int src, && !mons_is_fleeing(mon) && !mons_is_panicking(mon))) { // (Plain) plants and fungi cannot fight back. - if (mon->type == MONS_FUNGUS || mon->type == MONS_PLANT) + if (mon->type == MONS_FUNGUS || mon->type == MONS_PLANT + || mon->type == MONS_TOADSTOOL) return; mon->foe = src; |