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:
2636894
)
[Refactor] #38997 Replaced p_ptr into player_ptr in inventory-object.c
author
Hourier
<hourier@users.sourceforge.jp>
Sun, 28 Jun 2020 10:05:34 +0000
(19:05 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sun, 28 Jun 2020 10:05:34 +0000
(19:05 +0900)
src/inventory/inventory-object.c
patch
|
blob
|
history
diff --git
a/src/inventory/inventory-object.c
b/src/inventory/inventory-object.c
index
380d6c6
..
43fc842
100644
(file)
--- a/
src/inventory/inventory-object.c
+++ b/
src/inventory/inventory-object.c
@@
-358,11
+358,11
@@
bool check_store_item_to_inventory(player_type *player_ptr, object_type *o_ptr)
/* Unused */
(void)player_ptr;
- if (p_ptr->inven_cnt < INVEN_PACK)
+ if (p
layer
_ptr->inven_cnt < INVEN_PACK)
return TRUE;
for (int j = 0; j < INVEN_PACK; j++) {
- object_type *j_ptr = &p_ptr->inventory_list[j];
+ object_type *j_ptr = &p
layer
_ptr->inventory_list[j];
if (!j_ptr->k_idx)
continue;