summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-21 11:48:47 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-21 11:48:47 -0500
commit1995a2a6436f8a2d3216634f24d5ed76d97327e2 (patch)
tree73cd5c98ee890d731e62bc62087048945f9d139c
parent6256b83c6eac49fc6a01e1ba82b0fb7f53009a0e (diff)
downloadcrawl-ref-1995a2a6436f8a2d3216634f24d5ed76d97327e2.tar.gz
crawl-ref-1995a2a6436f8a2d3216634f24d5ed76d97327e2.zip
Add minor cosmetic fixes.
-rw-r--r--crawl-ref/source/religion.cc12
-rw-r--r--crawl-ref/source/spells3.cc4
2 files changed, 8 insertions, 8 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index c38d0f9a80..06b445ec02 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4003,33 +4003,33 @@ bool is_hasty_item(const item_def& item)
{
const int item_brand = get_weapon_brand(item);
if (item_brand == SPWPN_SPEED)
- return true;
+ return (true);
}
break;
case OBJ_ARMOUR:
{
const int item_brand = get_armour_ego_type(item);
if (item_brand == SPARM_RUNNING)
- return true;
+ return (true);
}
break;
case OBJ_WANDS:
if (item.sub_type == WAND_HASTING)
- return true;
+ return (true);
break;
case OBJ_POTIONS:
if (item.sub_type == POT_SPEED || item.sub_type == POT_BERSERK_RAGE)
- return true;
+ return (true);
break;
case OBJ_JEWELLERY:
// should this include AMU_RESIST_SLOWING?
if (item.sub_type == AMU_RAGE)
- return true;
+ return (true);
break;
default:
break;
}
- return false;
+ return (false);
}
bool is_holy_discipline(int discipline)
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 9fd1351592..a28524e9e0 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -115,7 +115,7 @@ bool remove_curse(bool suppress_msg)
{
bool success = false;
- // Only cursed *weapons* in hand count as cursed -- bwr
+ // Only cursed *weapons* in hand count as cursed. - bwr
if (you.weapon()
&& you.weapon()->base_type == OBJ_WEAPONS
&& item_cursed(*you.weapon()))
@@ -1184,7 +1184,7 @@ bool cast_twisted_resurrection(int pow, god_type god)
// the average will be approximately 10 * pow (or about 1000
// at the practical maximum). That's the same as the mass
// of a hippogriff, a spiny frog, or a steam dragon. Thus,
- // material components are far more important to this spell. -- bwr
+ // material components are far more important to this spell. - bwr
total_mass += roll_dice(20, pow);
#if DEBUG_DIAGNOSTICS