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] #40045 GCCでのコンパイル警告を除去 / Removed compilation warnings on GCC
[hengband/hengband.git]
/
src
/
spells-floor.c
diff --git
a/src/spells-floor.c
b/src/spells-floor.c
index
1a3099c
..
99de94d
100644
(file)
--- a/
src/spells-floor.c
+++ b/
src/spells-floor.c
@@
-1046,9
+1046,6
@@
bool earthquake(player_type *caster_ptr, POSITION cy, POSITION cx, POSITION r, M
/* Skip unaffected grids */
if (!map[16 + yy - cy][16 + xx - cx]) continue;
- grid_type *g_ptr;
- g_ptr = &floor_ptr->grid_array[yy][xx];
-
/* Destroy location (if valid) */
if (!cave_valid_bold(floor_ptr, yy, xx)) continue;