OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #38997 関数マクロcave_empty_bold*() を普通の関数に展開し、player-type * 引数を追加 / Changed...
[hengband/hengband.git]
/
src
/
spells-floor.c
diff --git
a/src/spells-floor.c
b/src/spells-floor.c
index
961f615
..
5df07da
100644
(file)
--- a/
src/spells-floor.c
+++ b/
src/spells-floor.c
@@
-800,7
+800,7
@@
bool earthquake(player_type *caster_ptr, POSITION cy, POSITION cx, POSITION r, M
x = caster_ptr->x + ddx_ddd[i];
/* Skip non-empty grids */
x = caster_ptr->x + ddx_ddd[i];
/* Skip non-empty grids */
- if (!
cave_empty_bold(floo
r_ptr, y, x)) continue;
+ if (!
is_cave_empty_bold(caste
r_ptr, y, x)) continue;
/* Important -- Skip "quake" grids */
if (map[16 + y - cy][16 + x - cx]) continue;
/* Important -- Skip "quake" grids */
if (map[16 + y - cy][16 + x - cx]) continue;
@@
-949,7
+949,7
@@
bool earthquake(player_type *caster_ptr, POSITION cy, POSITION cx, POSITION r, M
x = xx + ddx_ddd[i];
/* Skip non-empty grids */
x = xx + ddx_ddd[i];
/* Skip non-empty grids */
- if (!
cave_empty_bold(floo
r_ptr, y, x)) continue;
+ if (!
is_cave_empty_bold(caste
r_ptr, y, x)) continue;
/* Hack -- no safety on glyph of warding */
if (is_glyph_grid(&floor_ptr->grid_array[y][x])) continue;
/* Hack -- no safety on glyph of warding */
if (is_glyph_grid(&floor_ptr->grid_array[y][x])) continue;