summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-21 22:35:35 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-21 22:35:35 +0000
commitf9617e163d657219b8e3930f703060e291d05984 (patch)
tree133c9956096f64bb19d5518dd28e791f2380ebfc /crawl-ref/source/acr.cc
parent0480b2a904133ba40129d2effa33f7d638bb95d0 (diff)
downloadcrawl-ref-f9617e163d657219b8e3930f703060e291d05984.tar.gz
crawl-ref-f9617e163d657219b8e3930f703060e291d05984.zip
Improved handling of Xom accidentally killing the player.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7900 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index e87e5ab535..02e6422eb7 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1453,6 +1453,9 @@ static void _input()
religion_turn_start();
check_beholders();
+ // Currently only set if Xom accidentally kills the player.
+ you.reset_escaped_death();
+
if (crawl_state.is_replaying_keys() && crawl_state.is_repeating_cmd()
&& kbhit())
{