From 70b5c50203d97149717154d3475738122aca03bf Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 27 Apr 2008 15:00:25 +0000 Subject: Add minor cosmetic fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4694 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 933292e178..10c095a2e0 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1061,9 +1061,11 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, just_created_level = true; // closes all the gates if you're on the way out - if (you.char_direction == GDT_ASCENDING && - you.level_type != LEVEL_PANDEMONIUM) + if (you.char_direction == GDT_ASCENDING + && you.level_type != LEVEL_PANDEMONIUM) + { close_level_gates(); + } if (just_created_level) clear_env_map(); -- cgit v1.2.3-54-g00ecf