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 delete_monster_idx() にplayer_type * 引数を追加 / Added player_type ...
[hengband/hengband.git]
/
src
/
spells-floor.c
diff --git
a/src/spells-floor.c
b/src/spells-floor.c
index
5001fca
..
a5ac2b2
100644
(file)
--- a/
src/spells-floor.c
+++ b/
src/spells-floor.c
@@
-506,7
+506,7
@@
bool destroy_area(player_type *caster_ptr, POSITION y1, POSITION x1, POSITION r,
if (in_generate) /* In generation */
{
/* Delete the monster (if any) */
if (in_generate) /* In generation */
{
/* Delete the monster (if any) */
- delete_monster(
floo
r_ptr, y, x);
+ delete_monster(
caste
r_ptr, y, x);
}
else if (r_ptr->flags1 & RF1_QUESTOR)
{
}
else if (r_ptr->flags1 & RF1_QUESTOR)
{
@@
-527,7
+527,7
@@
bool destroy_area(player_type *caster_ptr, POSITION y1, POSITION x1, POSITION r,
}
/* Delete the monster (if any) */
}
/* Delete the monster (if any) */
- delete_monster(
floo
r_ptr, y, x);
+ delete_monster(
caste
r_ptr, y, x);
}
}
}
}
@@
-601,7
+601,7
@@
bool destroy_area(player_type *caster_ptr, POSITION y1, POSITION x1, POSITION r,
if (t < 20)
{
/* Create granite wall */
if (t < 20)
{
/* Create granite wall */
- place_grid(g_ptr, extra);
+ place_grid(
caster_ptr,
g_ptr, extra);
}
else if (t < 70)
{
}
else if (t < 70)
{
@@
-616,7
+616,7
@@
bool destroy_area(player_type *caster_ptr, POSITION y1, POSITION x1, POSITION r,
else
{
/* Create floor */
else
{
/* Create floor */
- place_grid(g_ptr, floor);
+ place_grid(
caster_ptr,
g_ptr, floor);
}
/* Clear garbage of hidden trap or door */
}
/* Clear garbage of hidden trap or door */
@@
-1002,7
+1002,7
@@
bool earthquake(player_type *caster_ptr, POSITION cy, POSITION cx, POSITION r, M
}
}
}
}
- delete_monster(
floo
r_ptr, yy, xx);
+ delete_monster(
caste
r_ptr, yy, xx);
sn = 0;
}
sn = 0;
}