diff options
-rw-r--r-- | crawl-ref/source/files.cc | 11 | ||||
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
2 files changed, 6 insertions, 7 deletions
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<branch_type>(j); const level_id thislevel(br, subdungeon_depth(br, i)); diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 12e743bea4..c453be7e23 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5554,7 +5554,7 @@ void god_pitch(god_type which_god) redraw_skill(you.your_name, player_title()); learned_something_new(TUT_CONVERT); -} // end god_pitch() +} bool god_hates_your_god(god_type god, god_type your_god) |