OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756e02e
)
[Fix] #38997 destroy_area() 内変数参照修正. / Fix variable references in destroy_area().
author
deskull
<deskull@users.sourceforge.jp>
Sat, 14 Dec 2019 16:09:27 +0000
(
01:09
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sat, 14 Dec 2019 16:09:27 +0000
(
01:09
+0900)
src/spells-floor.c
patch
|
blob
|
history
diff --git
a/src/spells-floor.c
b/src/spells-floor.c
index
9156ef4
..
547c3b0
100644
(file)
--- a/
src/spells-floor.c
+++ b/
src/spells-floor.c
@@
-472,7
+472,7
@@
bool destroy_area(floor_type *floor_ptr, POSITION y1, POSITION x1, POSITION r, b
bool flag = FALSE;
/* Prevent destruction of quest levels and town */
- if ((
p_ptr->current_floor_ptr->inside_quest && is_fixed_quest_idx(p_ptr->current_
floor_ptr->inside_quest)) || !floor_ptr->dun_level)
+ if ((
floor_ptr->inside_quest && is_fixed_quest_idx(
floor_ptr->inside_quest)) || !floor_ptr->dun_level)
{
return (FALSE);
}