summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/areas.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-13 07:50:39 -0400
committerNeil Moore <neil@s-z.org>2012-07-13 07:50:39 -0400
commit397c525d9efb39c2e79269f94b6b0cc6336d3904 (patch)
tree3437a6ea3f970c732bf0626cb4bf6f9f29d65cdf /crawl-ref/source/areas.cc
parent74418d3363a505c11451aec2d3a3d76f231f26f8 (diff)
downloadcrawl-ref-397c525d9efb39c2e79269f94b6b0cc6336d3904.tar.gz
crawl-ref-397c525d9efb39c2e79269f94b6b0cc6336d3904.zip
Don't crash when stepping from time with the Orb.
Diffstat (limited to 'crawl-ref/source/areas.cc')
-rw-r--r--crawl-ref/source/areas.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/areas.cc b/crawl-ref/source/areas.cc
index b7baebde45..0e3edec630 100644
--- a/crawl-ref/source/areas.cc
+++ b/crawl-ref/source/areas.cc
@@ -170,7 +170,7 @@ static void _update_agrid()
}
- if (you.char_direction == GDT_ASCENDING)
+ if (you.char_direction == GDT_ASCENDING && !you.duration[DUR_TIME_STEP])
{
ASSERT(!env.orb_pos.origin());