summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.cc
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/ranged_attack.cc
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/ranged_attack.cc')
-rw-r--r--crawl-ref/source/ranged_attack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ranged_attack.cc b/crawl-ref/source/ranged_attack.cc
index 8b4cdfc260..b98b594aba 100644
--- a/crawl-ref/source/ranged_attack.cc
+++ b/crawl-ref/source/ranged_attack.cc
@@ -160,7 +160,7 @@ bool ranged_attack::attack()
// XXX: Are there any cases where this might fail?
bool ranged_attack::handle_phase_attempted()
{
- attacker->attacking(defender);
+ attacker->attacking(defender, true);
attack_occurred = true;
return true;