summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 21:51:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 21:51:17 +0000
commit476660b7d794555c9d976ada2a1cfa8e33fe01ce (patch)
tree0f9c5ee675301424f636c5d7710d0f30b33a5b62 /crawl-ref
parent2e0507ac62fefe90c1b6a15af5f971d2892d5534 (diff)
downloadcrawl-ref-476660b7d794555c9d976ada2a1cfa8e33fe01ce.tar.gz
crawl-ref-476660b7d794555c9d976ada2a1cfa8e33fe01ce.zip
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
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/files.cc11
-rw-r--r--crawl-ref/source/religion.cc2
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)