diff options
author | Neil Moore <neil@s-z.org> | 2014-06-01 11:29:47 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-06-01 11:29:48 -0400 |
commit | 8d0a50cfbbdce5f645d4bfeccad62a81a26def53 (patch) | |
tree | ba06e047dfdc71bf616416ceb648d76be3abee46 /crawl-ref/source/throw.cc | |
parent | 4d4ff43f837018d2e42d0f7146bee24f64630ee4 (diff) | |
download | crawl-ref-8d0a50cfbbdce5f645d4bfeccad62a81a26def53.tar.gz crawl-ref-8d0a50cfbbdce5f645d4bfeccad62a81a26def53.zip |
Don't shadow copy awkward throws.
Though we check that the thrown object is a missile, avoiding most
awkward throws, there's still the possibility of throwing an arrow
etc. without a launcher.
Diffstat (limited to 'crawl-ref/source/throw.cc')
-rw-r--r-- | crawl-ref/source/throw.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc index d959e4d8a9..41e4aa3a13 100644 --- a/crawl-ref/source/throw.cc +++ b/crawl-ref/source/throw.cc @@ -983,6 +983,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, delete pbolt.special_explosion; if (!teleport + && projected && you_worship(GOD_DITHMENOS) && thrown.base_type == OBJ_MISSILES && thrown.sub_type != MI_NEEDLE |