diff options
author | Neil Moore <neil@s-z.org> | 2014-07-12 20:36:20 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-12 20:58:10 -0400 |
commit | 3d5dc734227ba4b2309639e6575eb55e657ecb82 (patch) | |
tree | c1f72c2aff07808c0672cd874ff984649eed1ebc /crawl-ref/source/target.h | |
parent | ac4b98f7f12b67270b0aa685eb4ca1484c20cc8b (diff) | |
download | crawl-ref-3d5dc734227ba4b2309639e6575eb55e657ecb82.tar.gz crawl-ref-3d5dc734227ba4b2309639e6575eb55e657ecb82.zip |
Ignore existing clouds in hostiles-in-range checks (#8784)
You still can't target the spots with clouds, but you might want to aim
at a nearby spot that a clouded monster is about to move to.
Diffstat (limited to 'crawl-ref/source/target.h')
-rw-r--r-- | crawl-ref/source/target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/target.h b/crawl-ref/source/target.h index 9ebdd65cae..395cb375be 100644 --- a/crawl-ref/source/target.h +++ b/crawl-ref/source/target.h @@ -136,6 +136,7 @@ public: int cnt_min, cnt_max; map<coord_def, aff_type> seen; vector<vector<coord_def> > queue; + bool avoid_clouds; }; class targetter_splash : public targetter |