summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-21 11:06:46 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-21 11:06:46 -0600
commitf1caba60366a0eaaedb114caef6788cfcbc59421 (patch)
tree71cd78a38344aff99cd892cbb36f756c8574a3c2 /crawl-ref/source/ranged_attack.h
parente03bf5a60aae380c7f94aa9309767073eec073ab (diff)
downloadcrawl-ref-f1caba60366a0eaaedb114caef6788cfcbc59421.tar.gz
crawl-ref-f1caba60366a0eaaedb114caef6788cfcbc59421.zip
Make needles of sleep do something again (bmfx).
They were alerting the attacker on the impact, making the effect completely useless; thus successfully hitting something with a needle of sleep does not alert them.
Diffstat (limited to 'crawl-ref/source/ranged_attack.h')
-rw-r--r--crawl-ref/source/ranged_attack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/ranged_attack.h b/crawl-ref/source/ranged_attack.h
index e5ea982685..2446971bc1 100644
--- a/crawl-ref/source/ranged_attack.h
+++ b/crawl-ref/source/ranged_attack.h
@@ -57,6 +57,7 @@ private:
const item_def *projectile;
bool teleport;
int orig_to_hit;
+ bool should_alert_defender;
};
#endif