diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 22:35:28 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 22:35:28 +0000 |
commit | e9fd95f6c3dccee78f770c32757da8cd0f938011 (patch) | |
tree | d8db42feea3b77f5e4d3c46a85bab0d2c13a8201 /crawl-ref/source/arena.cc | |
parent | bf2a59fd761571998062b21409ee678e2852254b (diff) | |
download | crawl-ref-e9fd95f6c3dccee78f770c32757da8cd0f938011.tar.gz crawl-ref-e9fd95f6c3dccee78f770c32757da8cd0f938011.zip |
Add ASSERT(!crawl_state.arena) to a number of places.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8184 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/arena.cc')
-rw-r--r-- | crawl-ref/source/arena.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index f9f5752cd9..b85c54e588 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -362,8 +362,11 @@ namespace arena you.mutation[MUT_ACUTE_VISION] = 3; coord_def yplace(dgn_find_feature_marker(DNGN_ESCAPE_HATCH_UP)); - // Fix up the viewport. + // Fix up the viewport. Temporarily unset arena mode to avoid + // assertion. + crawl_state.arena = false; you.moveto(yplace); + crawl_state.arena = true; strcpy(you.your_name, "Arena"); |