summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-15 20:45:49 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-15 20:45:49 -0700
commit46035ab81287c81c543efc69fc0f307ed19234f5 (patch)
tree55d8aee072c8c25673af5a120c05ad9b1c0b091e /crawl-ref/source/throw.cc
parent01a53fc3f99d969ca4bb3ef563c632e5ce492a09 (diff)
downloadcrawl-ref-46035ab81287c81c543efc69fc0f307ed19234f5.tar.gz
crawl-ref-46035ab81287c81c543efc69fc0f307ed19234f5.zip
Use AUTOMATIC_HIT for a ranged tracer
Diffstat (limited to 'crawl-ref/source/throw.cc')
-rw-r--r--crawl-ref/source/throw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc
index 3e6c54b98b..4370676555 100644
--- a/crawl-ref/source/throw.cc
+++ b/crawl-ref/source/throw.cc
@@ -788,7 +788,7 @@ bool throw_it(bolt &pbolt, int throw_2, dist *target)
{
// Set values absurdly high to make sure the tracer will
// complain if we're attempting to fire through allies.
- pbolt.hit = 100;
+ pbolt.hit = AUTOMATIC_HIT;
pbolt.damage = dice_def(1, 100);
// Init tracer variables.