summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
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 /crawl-ref/source/religion.cc
parent6256b83c6eac49fc6a01e1ba82b0fb7f53009a0e (diff)
downloadcrawl-ref-1995a2a6436f8a2d3216634f24d5ed76d97327e2.tar.gz
crawl-ref-1995a2a6436f8a2d3216634f24d5ed76d97327e2.zip
Add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc12
1 files changed, 6 insertions, 6 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)