#include "mutation/mutation-flag-types.h"
#include "object/warning.h"
#include "player/player-move.h"
+#include "player/player-status-flags.h"
#include "system/floor-type-definition.h"
#include "system/object-type-definition.h"
#include "util/bit-flags-calculator.h"
stormbringer = TRUE;
feature_type *f_ptr = &f_info[g_ptr->feat];
- bool p_can_kill_walls = creature_ptr->kill_wall && has_flag(f_ptr->flags, FF_HURT_DISI) && (!p_can_enter || !has_flag(f_ptr->flags, FF_LOS))
+ bool p_can_kill_walls = has_kill_wall(creature_ptr) && has_flag(f_ptr->flags, FF_HURT_DISI) && (!p_can_enter || !has_flag(f_ptr->flags, FF_LOS))
&& !has_flag(f_ptr->flags, FF_PERMANENT);
GAME_TEXT m_name[MAX_NLEN];
bool can_move = TRUE;
creature_ptr->no_flowed = FALSE;
- if (has_pass_wall(creature_ptr) && !creature_ptr->kill_wall)
+ if (has_pass_wall(creature_ptr) && !has_kill_wall(creature_ptr))
creature_ptr->no_flowed = TRUE;
for (int i = 0; i < INVEN_PACK; i++) {
ARMOUR_CLASS old_dis_ac = creature_ptr->dis_ac;
ARMOUR_CLASS old_dis_to_a = creature_ptr->dis_to_a;
- creature_ptr->kill_wall = has_kill_wall(creature_ptr);
creature_ptr->xtra_might = has_xtra_might(creature_ptr);
creature_ptr->esp_evil = has_esp_evil(creature_ptr);
creature_ptr->esp_animal = has_esp_animal(creature_ptr);
BIT_FLAGS bless_blade; /* Blessed blade */
BIT_FLAGS xtra_might; /* Extra might bow */
BIT_FLAGS impact; /* Earthquake blows */
- bool kill_wall;
BIT_FLAGS dec_mana;
BIT_FLAGS easy_spell;
BIT_FLAGS heavy_spell;
int sn = 0;
POSITION sy = 0, sx = 0;
- if (hurt && !has_pass_wall(caster_ptr) && !caster_ptr->kill_wall) {
+ if (hurt && !has_pass_wall(caster_ptr) && !has_kill_wall(caster_ptr)) {
for (DIRECTION i = 0; i < 8; i++) {
POSITION y = caster_ptr->y + ddy_ddd[i];
POSITION x = caster_ptr->x + ddx_ddd[i];