summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-fsim.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-10-23 14:07:15 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2013-10-25 09:36:25 -0600
commitfd018d8dadb49dc0736939057c0213431457cd1c (patch)
tree8df3b5537d3f3219a46110085081b3a3a0d44d5d /crawl-ref/source/wiz-fsim.cc
parentd24709164a157645811a3985a6ab96e9ab6ddea8 (diff)
downloadcrawl-ref-fd018d8dadb49dc0736939057c0213431457cd1c.tar.gz
crawl-ref-fd018d8dadb49dc0736939057c0213431457cd1c.zip
Don't freeze fsim on spurious ranged combat prompts.
Such as the ones caused by some of the proposed unrand changes.
Diffstat (limited to 'crawl-ref/source/wiz-fsim.cc')
-rw-r--r--crawl-ref/source/wiz-fsim.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-fsim.cc b/crawl-ref/source/wiz-fsim.cc
index 70d4e7cade..78a146f4d1 100644
--- a/crawl-ref/source/wiz-fsim.cc
+++ b/crawl-ref/source/wiz-fsim.cc
@@ -350,6 +350,7 @@ static fight_data _get_fight_data(monster &mon, int iter_limit, bool defend)
you.inv[missile].flags |= ISFLAG_SUMMONED;
beam.target = mon.pos();
beam.animate = false;
+ beam.dont_stop_player = true;
if (throw_it(beam, missile, false, DEBUG_COOKIE))
hits++;
you.inv[missile].flags &= ~ISFLAG_SUMMONED;