summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-19 20:46:44 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-27 17:02:33 -0600
commita2702ba0a56228743ba069c151e94c06601aabb6 (patch)
tree7cde9df4f2424a52b062d46d93a517a6a3ffc3da /crawl-ref/source/ranged_attack.cc
parentcac142e7fc18c7516f0a633096953180cc127282 (diff)
downloadcrawl-ref-a2702ba0a56228743ba069c151e94c06601aabb6.tar.gz
crawl-ref-a2702ba0a56228743ba069c151e94c06601aabb6.zip
Disable ranged stabbing.
There are a couple of ideas for what could use this, but for now nothing should do so.
Diffstat (limited to 'crawl-ref/source/ranged_attack.cc')
-rw-r--r--crawl-ref/source/ranged_attack.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/ranged_attack.cc b/crawl-ref/source/ranged_attack.cc
index 67102e1c06..3208cdc9da 100644
--- a/crawl-ref/source/ranged_attack.cc
+++ b/crawl-ref/source/ranged_attack.cc
@@ -744,6 +744,12 @@ bool ranged_attack::mons_attack_effects()
return true;
}
+void ranged_attack::player_stab_check()
+{
+ stab_attempt = false;
+ stab_bonus = 0;
+}
+
void ranged_attack::adjust_noise()
{
}