diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
commit | 59b5314b6b7880cfda73f34aed03a700fd523017 (patch) | |
tree | 4b5255289c8216f2d7dcfac2824045e5c0acdc45 /src/q_poison.cc | |
parent | fa5083020d4cc4d6d7471b461c430d40ed36c02e (diff) |
Rework RF{4,5,6}_* monster spell flags to flag_set<>
Diffstat (limited to 'src/q_poison.cc')
-rw-r--r-- | src/q_poison.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/q_poison.cc b/src/q_poison.cc index a5b274b0..464c93ef 100644 --- a/src/q_poison.cc +++ b/src/q_poison.cc @@ -10,6 +10,7 @@ #include "messages.hpp" #include "monster2.hpp" #include "monster_race.hpp" +#include "monster_spell_flag.hpp" #include "monster_type.hpp" #include "object2.hpp" #include "player_type.hpp" @@ -33,7 +34,7 @@ static bool_ create_molds_hook(int r_idx) { monster_race *r_ptr = &r_info[r_idx]; - if (r_ptr->flags4 & RF4_MULTIPLY) return FALSE; + if (r_ptr->spells & SF_MULTIPLY) return FALSE; if (r_ptr->d_char == 'm') return TRUE; else if (r_ptr->d_char == ',') return TRUE; |