summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index b5b69598..26a15541 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -9,6 +9,7 @@
#include "monster2.hpp"
#include "monster3.hpp"
#include "monster_race.hpp"
+#include "monster_race_flag.hpp"
#include "monster_type.hpp"
#include "object1.hpp"
#include "object2.hpp"
@@ -2271,7 +2272,7 @@ casting_result melkor_mind_steal()
auto const r_ptr = m_ptr->race();
if ((randint(m_ptr->level) < chance) &&
- ((r_ptr->flags1 & RF1_UNIQUE) == 0))
+ ((r_ptr->flags & RF_UNIQUE) == 0))
{
p_ptr->control = target_who;
m_ptr->mflag |= MFLAG_CONTROL;