X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Feffect%2Feffect-processor.c;h=e4d5e9588826b6ae82f7a8acffce6c5f26efe788;hb=e641ea7aace94b279ef444ed4623d4febe947255;hp=3a31ff03521fbf20a3f558a29e0d67d357f65a1d;hpb=e78477b266c53aed2097ca996eef4caae11da6c8;p=hengband%2Fhengband.git diff --git a/src/effect/effect-processor.c b/src/effect/effect-processor.c index 3a31ff035..e4d5e9588 100644 --- a/src/effect/effect-processor.c +++ b/src/effect/effect-processor.c @@ -7,7 +7,6 @@ #include "effect/effect-player.h" #include "effect/spells-effect-util.h" #include "floor/cave.h" -#include "floor/floor.h" #include "floor/line-of-sight.h" #include "game-option/special-options.h" #include "grid/feature-flag-types.h" @@ -318,7 +317,7 @@ bool project(player_type *caster_ptr, const MONSTER_IDX who, POSITION rad, POSIT if (affect_item(caster_ptr, 0, 0, y, x, dam, GF_SUPER_RAY)) notice = TRUE; - if (!cave_have_flag_bold(caster_ptr->current_floor_ptr, y, x, FF_PROJECT)) { + if (!cave_has_flag_bold(caster_ptr->current_floor_ptr, y, x, FF_PROJECT)) { if (second_step) continue; break; @@ -386,7 +385,7 @@ bool project(player_type *caster_ptr, const MONSTER_IDX who, POSITION rad, POSIT if (!cave_los_bold(caster_ptr->current_floor_ptr, ny, nx) && (rad > 0)) break; } else { - if (!cave_have_flag_bold(caster_ptr->current_floor_ptr, ny, nx, FF_PROJECT) && (rad > 0)) + if (!cave_has_flag_bold(caster_ptr->current_floor_ptr, ny, nx, FF_PROJECT) && (rad > 0)) break; }