summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-speak.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-03-31 17:21:43 +0100
committerChris Campbell <chriscampbell89@gmail.com>2012-03-31 17:21:43 +0100
commit3ca1b2e54e3361b83636cc96518596fa68403962 (patch)
tree9de834a48fa43e83f40b5a33c1b79574ec722cfe /crawl-ref/source/mon-speak.cc
parent62922bcad0094f95a4fae3e58d2d00e4b28debb9 (diff)
parentd1ec1219830de0075c12e99f8c0caf8ed04c58f5 (diff)
downloadcrawl-ref-3ca1b2e54e3361b83636cc96518596fa68403962.tar.gz
crawl-ref-3ca1b2e54e3361b83636cc96518596fa68403962.zip
Merge branch 'boulder_beetles'
Diffstat (limited to 'crawl-ref/source/mon-speak.cc')
-rw-r--r--crawl-ref/source/mon-speak.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-speak.cc b/crawl-ref/source/mon-speak.cc
index d8ff7d99a0..17553960df 100644
--- a/crawl-ref/source/mon-speak.cc
+++ b/crawl-ref/source/mon-speak.cc
@@ -429,6 +429,10 @@ bool mons_speaks(monster* mons)
if (mons->berserk())
return (false);
+ // Rolling beetles shouldn't twitch antennae
+ if (mons->rolling())
+ return (false);
+
// Monsters in a battle frenzy are likewise occupied.
// But roused holy creatures are not.
if (mons->has_ench(ENCH_BATTLE_FRENZY) && !one_chance_in(3))