OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #38997 wield_slot() に player_type * 引数を追加. / Add player_type * argument...
[hengbandforosx/hengbandosx.git]
/
src
/
object-hook.c
diff --git
a/src/object-hook.c
b/src/object-hook.c
index
ff43b39
..
29b9413
100644
(file)
--- a/
src/object-hook.c
+++ b/
src/object-hook.c
@@
-197,7
+197,7
@@
bool item_tester_hook_wear(object_type *o_ptr)
if (p_ptr->psex == SEX_MALE) return FALSE;
/* Check for a usable slot */
- if (wield_slot(o_ptr) >= INVEN_RARM) return (TRUE);
+ if (wield_slot(
p_ptr,
o_ptr) >= INVEN_RARM) return (TRUE);
return (FALSE);
}