summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 23:36:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 23:36:21 +0000
commitc8b4a65460278737d2c72e8afefb19da29fbca20 (patch)
treec87db9d50eb49edc856edfd6c44c4fe80167855a /crawl-ref
parent6134bc21ae3ac291baf4fc4be506536dd1aecc05 (diff)
downloadcrawl-ref-c8b4a65460278737d2c72e8afefb19da29fbca20.tar.gz
crawl-ref-c8b4a65460278737d2c72e8afefb19da29fbca20.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10343 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/dungeon.cc6
-rw-r--r--crawl-ref/source/fight.cc2
-rw-r--r--crawl-ref/source/it_use3.cc2
3 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index b80d25b7ea..a2ce0f223e 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5044,7 +5044,7 @@ static void _vault_grid( vault_placement &place,
"else; please file a bug report.",
mons_type_name(monster_type_thing.mid,
DESC_CAP_THE).c_str());
- // Force it to be generated anyways.
+ // Force it to be generated anyway.
you.unique_creatures[monster_type_thing.mid] = false;
}
}
@@ -5336,8 +5336,8 @@ static dungeon_feature_type _pick_an_altar()
dungeon_feature_type altar_type;
int temp_rand; // probability determination {dlb}
- if (player_in_branch( BRANCH_SLIME_PITS )
- || player_in_branch( BRANCH_ECUMENICAL_TEMPLE )
+ if (player_in_branch(BRANCH_SLIME_PITS)
+ || player_in_branch(BRANCH_ECUMENICAL_TEMPLE)
|| you.level_type == LEVEL_LABYRINTH)
{
// No extra altars in Temple, none at all in Slime Pits or Labyrinth.
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 439c2437a8..1acf2b1f72 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1200,7 +1200,7 @@ bool melee_attack::player_aux_unarmed()
continue;
}
// no biting with visored helmet
- if (you.equip[EQ_HELMET] != -1
+ if (you.equip[EQ_HELMET] != -1
&& (get_helmet_desc((you.inv[you.equip[EQ_HELMET]])) == THELM_DESC_VISORED))
{
continue;
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index 2e42e39ec3..481d4c6869 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -816,7 +816,7 @@ bool evoke_item(int slot)
#if DEBUG // variable only used in assert.
const bool wielded = (you.equip[EQ_WEAPON] == slot);
#endif
-
+
item_def& item = you.inv[slot];
// Also handles messages.
if (!item_is_evokable(item, false, false, true))