summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-15 22:28:22 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-15 22:30:19 +1000
commit61b77be6b62b3863d260c7bc68485643fd1cac68 (patch)
treed4340ebce8b34b360713cb9b84909c2d797b598d /crawl-ref
parent54c9e3877a8d999ffea5db5783126c40b8971b82 (diff)
downloadcrawl-ref-61b77be6b62b3863d260c7bc68485643fd1cac68.tar.gz
crawl-ref-61b77be6b62b3863d260c7bc68485643fd1cac68.zip
Fix inverted logic with berserk + harmful clouds.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mon-stuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc
index 2ade004e24..68c98abb4f 100644
--- a/crawl-ref/source/mon-stuff.cc
+++ b/crawl-ref/source/mon-stuff.cc
@@ -3127,7 +3127,7 @@ bool mons_avoids_cloud(const monsters *monster, cloud_struct cloud,
// Berserk monsters are less careful and will blindly plow through any
// dangerous cloud, just to kill you. {due}
if (!extra_careful && monster->berserk())
- return (true);
+ return (false);
switch (cl_type)
{