diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-03 09:28:44 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-03 09:28:44 -0600 |
commit | be1455fe03717bf52b21b0a853fbaf0f0ed9d508 (patch) | |
tree | 9ea06a85d4da175752a506582ce06018e03c2db5 /crawl-ref/source/throw.cc | |
parent | bf76723ced46f415ffe8bfd25aafdd15b4475d60 (diff) | |
download | crawl-ref-be1455fe03717bf52b21b0a853fbaf0f0ed9d508.tar.gz crawl-ref-be1455fe03717bf52b21b0a853fbaf0f0ed9d508.zip |
Don't let portalled returning projectiles return.
Oops.
Diffstat (limited to 'crawl-ref/source/throw.cc')
-rw-r--r-- | crawl-ref/source/throw.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc index 31797e1d12..73ea7e39a9 100644 --- a/crawl-ref/source/throw.cc +++ b/crawl-ref/source/throw.cc @@ -867,6 +867,9 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, } // check for returning ammo + if (teleport) + returning = false; + if (returning && projected != LRET_FUMBLED) { const skill_type sk = |