void add_cheat_remove_flags_others(player_type *target_ptr, msr_type *msr_ptr)
{
- if (target_ptr->resist_neth)
+ if (has_resist_neth(target_ptr))
msr_ptr->smart |= SM_RES_NETH;
if (has_resist_lite(target_ptr))
if (has_resist_dark(target_ptr))
msr_ptr->smart |= SM_RES_DARK;
- if (target_ptr->resist_fear)
+ if (has_resist_fear(target_ptr))
msr_ptr->smart |= SM_RES_FEAR;
if (has_resist_conf(target_ptr))
if (has_resist_shard(target_ptr))
msr_ptr->smart |= SM_RES_SHARD;
- if (target_ptr->reflect)
+ if (has_reflect(target_ptr))
msr_ptr->smart |= SM_IMM_REFLECT;
if (target_ptr->free_act)