From 476660b7d794555c9d976ada2a1cfa8e33fe01ce Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 30 Jun 2008 21:51:17 +0000 Subject: Add yet more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6266 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 60edca7c98..d59bdc5339 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1633,7 +1633,6 @@ bool is_existing_level(const level_id &level) // // If the target level has not already been visited by the player, this // function will assert. -// bool apply_to_level(const level_id &level, bool preserve_current, bool (*applicator)()) { @@ -1650,9 +1649,9 @@ bool apply_to_level(const level_id &level, bool preserve_current, you.level_type = level.level_type; // Load the dungeon level... - load( DNGN_STONE_STAIRS_DOWN_I, LOAD_VISITOR, - LEVEL_DUNGEON, original.absdepth(), - original.branch ); + load(DNGN_STONE_STAIRS_DOWN_I, LOAD_VISITOR, + LEVEL_DUNGEON, original.absdepth(), + original.branch); } // Apply the change. @@ -1678,8 +1677,8 @@ bool apply_to_all_dungeons(bool (*applicator)()) bool success = applicator(); _save_level(original.absdepth(), original.level_type, original.branch); - for ( int i = 0; i < MAX_LEVELS; ++i ) - for ( int j = 0; j < NUM_BRANCHES; ++j ) + for (int i = 0; i < MAX_LEVELS; ++i) + for (int j = 0; j < NUM_BRANCHES; ++j) { const branch_type br = static_cast(j); const level_id thislevel(br, subdungeon_depth(br, i)); -- cgit v1.2.3-54-g00ecf