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
[Fix] #38993 current_floor -> current_floor_ptr
[hengband/hengband.git]
/
src
/
autopick.c
diff --git
a/src/autopick.c
b/src/autopick.c
index
86ce03c
..
098d3aa
100644
(file)
--- a/
src/autopick.c
+++ b/
src/autopick.c
@@
-1658,7
+1658,7
@@
void autopick_delayed_alter(void)
autopick_delayed_alter_aux(item);
/* Scan the pile of objects */
- item = grid_array[p_ptr->y][p_ptr->x].o_idx;
+ item =
current_floor_ptr->
grid_array[p_ptr->y][p_ptr->x].o_idx;
while (item)
{
OBJECT_IDX next = o_list[item].next_o_idx;