summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-05 16:07:06 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-05 16:07:06 +0000
commit825b546178f271424a8e162e9a798a7b06aeeb8e (patch)
tree5e389503f123219d886ef2f2572181e90d7c2818 /crawl-ref/source/fight.cc
parentf69ba51dd364f66462af1a099193de467312407f (diff)
downloadcrawl-ref-825b546178f271424a8e162e9a798a7b06aeeb8e.tar.gz
crawl-ref-825b546178f271424a8e162e9a798a7b06aeeb8e.zip
Consistently anger monsters turned into shapeshifters again, so that
they immediately turn on you if you worship Zin, or turn on you when in the form of an evil monster if you worship another good god. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8902 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index dde811e58e..ef9cb9fe7c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2338,8 +2338,7 @@ void melee_attack::chaos_affects_defender()
defender_as_monster()->add_ench(one_chance_in(3) ?
ENCH_GLOWING_SHAPESHIFTER : ENCH_SHAPESHIFTER);
// Immediately polymorph monster, just to make the effect obvious.
- monster_polymorph(defender_as_monster(),
- RANDOM_MONSTER, PPT_SAME, true);
+ monster_polymorph(defender_as_monster(), RANDOM_MONSTER);
break;
case CHAOS_MISCAST: