summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/abyss.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index 1744e12fdd..4cb6ed9039 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -288,10 +288,10 @@ static bool _abyss_place_rune(const map_bitmask &abyss_genlevel_mask,
static bool _abyss_square_accepts_items(const map_bitmask &abyss_genlevel_mask,
coord_def p)
{
- return (abyss_genlevel_mask(p)
- && grd(p) == DNGN_FLOOR
- && igrd(p) == NON_ITEM
- && !map_masked(p, MMT_VAULT));
+ return abyss_genlevel_mask(p)
+ && grd(p) == DNGN_FLOOR
+ && igrd(p) == NON_ITEM
+ && !map_masked(p, MMT_VAULT);
}
static int _abyss_create_items(const map_bitmask &abyss_genlevel_mask,
@@ -1181,7 +1181,7 @@ static void _update_abyss_terrain(const coord_def &p,
static int _abyssal_stair_chance()
{
- return (you.char_direction == GDT_GAME_START ? 0 : 2800 - (200 * you.depth / 3));
+ return you.char_direction == GDT_GAME_START ? 0 : 2800 - (200 * you.depth / 3);
}
static void _nuke_all_terrain(bool vaults)