summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-21 23:20:45 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-21 23:21:29 +0200
commitba76ed1fa75887f14d0a9bed89b09d03f47c6512 (patch)
treed88f58825661188c748aaf4d53ba3d422f63b429 /crawl-ref/source/ouch.cc
parentcf2aa57b5d21f643401c7929e0d1b1be516435ea (diff)
downloadcrawl-ref-ba76ed1fa75887f14d0a9bed89b09d03f47c6512.tar.gz
crawl-ref-ba76ed1fa75887f14d0a9bed89b09d03f47c6512.zip
Chronos' time step.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 02337d8dc0..bb8136352f 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -915,6 +915,8 @@ void ouch(int dam, int death_source, kill_method_type death_type,
const char *aux, bool see_source)
{
ASSERT(!crawl_state.arena);
+ if (you.duration[DUR_TIME_STEP])
+ return;
if (dam != INSTANT_DEATH && you.species == SP_DEEP_DWARF)
{