diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-03 14:52:12 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-03 14:52:12 +0000 |
commit | b1dfd6626d73db44b352a800237921cf9aeeb0ef (patch) | |
tree | 421af4aa7ce1584f60e9e84c1a97a2d5b8f01a39 /crawl-ref/source/acr.cc | |
parent | 6115d75a55cd1c616ba9c15e106945dfd96ffaaf (diff) | |
download | crawl-ref-b1dfd6626d73db44b352a800237921cf9aeeb0ef.tar.gz crawl-ref-b1dfd6626d73db44b352a800237921cf9aeeb0ef.zip |
[1646885] Refix monster alerts being issued for monsters that subsequently leave LOS.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@914 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index b66013059c..80019c23b0 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -809,11 +809,13 @@ bool apply_berserk_penalty = false; This function handles the player's input. It's called from main(), from inside an endless loop. */ -static void input() { - +static void input() +{ you.turn_is_over = false; prep_input(); + fire_monster_alerts(); + if ( you.paralysis ) { world_reacts(); |