summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-27 15:00:25 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-27 15:00:25 +0000
commit70b5c50203d97149717154d3475738122aca03bf (patch)
treea8525adc072f989bfd8949c75407bf8b616a9508 /crawl-ref/source/files.cc
parentb254a1fd30b9aa5dde60f2e76e9474cdf3f685b8 (diff)
downloadcrawl-ref-70b5c50203d97149717154d3475738122aca03bf.tar.gz
crawl-ref-70b5c50203d97149717154d3475738122aca03bf.zip
Add minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4694 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 4 insertions, 2 deletions
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();