summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:25:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:25:52 +0000
commit51bb503297931e5a8c35ea76e92c4feac67d6e08 (patch)
treea1db3c36835863699482bfa1378d094223c1344a /crawl-ref/source/files.cc
parent09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0 (diff)
downloadcrawl-ref-51bb503297931e5a8c35ea76e92c4feac67d6e08.tar.gz
crawl-ref-51bb503297931e5a8c35ea76e92c4feac67d6e08.zip
Fix 2007064: Assertion error when changing religion as a Lugonu Chaos
Knight while still in the Abyss (only possible in wizard mode) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6270 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index b1704bc9e9..f950698192 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1056,7 +1056,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
false );
if (you.level_type == LEVEL_DUNGEON && old_level_type == LEVEL_DUNGEON
- || load_mode == LOAD_START_GAME)
+ || load_mode == LOAD_START_GAME && you.char_direction != GDT_GAME_START)
{
if (tmp_file_pairs[you.your_level][you.where_are_you] == false)
{