summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-08 10:29:58 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-08 10:29:58 -0600
commitf86312ef14885f9b52d6afd18d8b317f1d8047a3 (patch)
treefdce90398d4cee2d1c826b43572ee3c57743146c /crawl-ref/source/monster.h
parent5fed7dde5ee02f117f6e2368777f0f9c650c2ed1 (diff)
downloadcrawl-ref-f86312ef14885f9b52d6afd18d8b317f1d8047a3.tar.gz
crawl-ref-f86312ef14885f9b52d6afd18d8b317f1d8047a3.zip
Don't trigger berserkitis on ranged attacks (#8516).
Oops.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index 78ec8cbdfa..1e4525eec8 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -302,7 +302,7 @@ public:
int skill(skill_type skill, int scale = 1, bool real = false) const;
- void attacking(actor *other);
+ void attacking(actor *other, bool ranged);
bool can_go_frenzy() const;
bool can_go_berserk() const;
bool can_jump() const;