diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-03-05 18:14:41 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-03-05 18:14:41 -0700 |
commit | 9259616cc7dcd8d058367b4d8ba84d8f49dcb898 (patch) | |
tree | da47eda7ddef073f5f4b3a21995a3c26fbb0b41b /crawl-ref/source/target.h | |
parent | ae9c01e6bc75c38ade990c6823c536cd201a53d0 (diff) | |
download | crawl-ref-9259616cc7dcd8d058367b4d8ba84d8f49dcb898.tar.gz crawl-ref-9259616cc7dcd8d058367b4d8ba84d8f49dcb898.zip |
A couple of adjustments to Shadow Step targeting.
Pass range2 instead of range to the jump targeter for more accurate ties
to the umbra range, and don't allow non-umbraed targets to be targeted
(this disallows haloed monsters from being stepped to, cf. #8016).
Diffstat (limited to 'crawl-ref/source/target.h')
-rw-r--r-- | crawl-ref/source/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/target.h b/crawl-ref/source/target.h index 25529ae9c0..f7c174ad6a 100644 --- a/crawl-ref/source/target.h +++ b/crawl-ref/source/target.h @@ -204,7 +204,7 @@ enum jump_block_reason class targetter_jump : public targetter { public: - targetter_jump(const actor* act, int range, bool clear_path = true, + targetter_jump(const actor* act, int r2, bool clear_path = true, bool immobile = false); bool valid_aim(coord_def a); |