summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-01 00:49:04 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-01 00:49:04 +0000
commitee9032f0333fe9fd08502d2291fe6aa6ec513e09 (patch)
treeff6a46e5a1031acb634f4b738f202dff752bd0c8 /crawl-ref/source/acr.cc
parent54d9768ff184b52faba9d466177b2563faebfe1d (diff)
downloadcrawl-ref-ee9032f0333fe9fd08502d2291fe6aa6ec513e09.tar.gz
crawl-ref-ee9032f0333fe9fd08502d2291fe6aa6ec513e09.zip
Bug 2004786: a lightning bolt bouncing and hitting a monster a second/tird/etc
time shouldn't be an unchivalrous attack if the first hit wasn't unchivalrous. Before this fix the damage from the first hit from a lightning bolt might make a monster flee, and then the subsequent hits from bounces would be unchivalrous since it was fleeing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6272 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 041e1de4de..3777d0951b 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1389,7 +1389,7 @@ bool apply_berserk_penalty = false;
//
static void _input()
{
- crawl_state.clear_god_acting();
+ religion_turn_start();
check_beholders();
if (crawl_state.is_replaying_keys() && crawl_state.is_repeating_cmd()