summaryrefslogtreecommitdiff
path: root/src/spells3.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
commit145ea9e004c6014c790abb8d7b81f7f1547af3b9 (patch)
treef11869d7682a9e97a335b2baeba7458db6ff4473 /src/spells3.cc
parentca3fab4c43e155494e7eddfede551f3ced7ddad0 (diff)
Change flag_set bool conversion to 'explicit'
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index 26a15541..b5a767c5 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -2272,7 +2272,7 @@ casting_result melkor_mind_steal()
auto const r_ptr = m_ptr->race();
if ((randint(m_ptr->level) < chance) &&
- ((r_ptr->flags & RF_UNIQUE) == 0))
+ ((r_ptr->flags & RF_UNIQUE).empty()))
{
p_ptr->control = target_who;
m_ptr->mflag |= MFLAG_CONTROL;