diff options
author | Neil Moore <neil@s-z.org> | 2014-07-01 09:03:16 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-01 09:03:16 -0400 |
commit | 196014848eaa8d9c5338f8444d6f0583079681e0 (patch) | |
tree | 51165cbbdf4860c88771bd671a4fcb2ad2e5f8d5 /crawl-ref/source/throw.cc | |
parent | 6d030cf17a1be95e9fbb2d1137c97e445c14f1f1 (diff) | |
download | crawl-ref-196014848eaa8d9c5338f8444d6f0583079681e0.tar.gz crawl-ref-196014848eaa8d9c5338f8444d6f0583079681e0.zip |
Remove the to-hit DEBUG_COOKIE.
Fight sim handles sets the simulated flag directly now.
Diffstat (limited to 'crawl-ref/source/throw.cc')
-rw-r--r-- | crawl-ref/source/throw.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc index 1e8518725c..c4f906ec6c 100644 --- a/crawl-ref/source/throw.cc +++ b/crawl-ref/source/throw.cc @@ -908,7 +908,7 @@ bool throw_it(bolt &pbolt, int throw_2, dist *target) pbolt.use_target_as_pos = true; pbolt.affect_cell(); pbolt.affect_endpoint(); - if (!did_return && pbolt.hit != DEBUG_COOKIE) + if (!did_return) pbolt.drop_object(); // Costs 1 MP per shot. dec_mp(1); @@ -983,8 +983,7 @@ bool throw_it(bolt &pbolt, int throw_2, dist *target) && projected && you_worship(GOD_DITHMENOS) && thrown.base_type == OBJ_MISSILES - && thrown.sub_type != MI_NEEDLE - && pbolt.hit != DEBUG_COOKIE) + && thrown.sub_type != MI_NEEDLE) { dithmenos_shadow_throw(thr.target, item); } |