summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/target.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-12 20:36:20 -0400
committerNeil Moore <neil@s-z.org>2014-07-12 20:58:10 -0400
commit3d5dc734227ba4b2309639e6575eb55e657ecb82 (patch)
treec1f72c2aff07808c0672cd874ff984649eed1ebc /crawl-ref/source/target.h
parentac4b98f7f12b67270b0aa685eb4ca1484c20cc8b (diff)
downloadcrawl-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.h1
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