summaryrefslogtreecommitdiff
path: root/src/dungeon.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit0cb03efd7c438ee8fc5d9444e0c8e60a8eeb7f16 (patch)
tree53c50379dca6eb832bfa35912a67dab5e5d9aa11 /src/dungeon.cc
parent7137a17f77fd3b6c3bbcefa2d621b3a11f161679 (diff)
Remove redundant parens from RFn_* in expressions
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r--src/dungeon.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc
index b2592979..cd904f29 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -791,7 +791,7 @@ static void regen_monsters(void)
if (!frac) frac = 1;
/* Hack -- Some monsters regenerate quickly */
- if (r_ptr->flags2 & (RF2_REGENERATE)) frac *= 2;
+ if (r_ptr->flags2 & RF2_REGENERATE) frac *= 2;
/* Hack -- Regenerate */
@@ -828,7 +828,7 @@ static void regen_monsters(void)
/* Hack -- Some monsters regenerate quickly */
auto const r_ptr = m_ptr->race();
- if (r_ptr->flags2 & (RF2_REGENERATE)) frac *= 2;
+ if (r_ptr->flags2 & RF2_REGENERATE) frac *= 2;
/* Hack -- Regenerate */
m_ptr->hp += frac;
@@ -4512,7 +4512,7 @@ static void process_player(void)
auto const r_ptr = m_ptr->race();
/* Skip non-multi-hued monsters */
- if (!(r_ptr->flags1 & (RF1_ATTR_MULTI))) continue;
+ if (!(r_ptr->flags1 & RF1_ATTR_MULTI)) continue;
/* Reset the flag */
shimmer_monsters = TRUE;