summaryrefslogtreecommitdiff
path: root/src/code_08077B98.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_08077B98.c')
-rw-r--r--src/code_08077B98.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_08077B98.c b/src/code_08077B98.c
index 2d011e33..970644d3 100644
--- a/src/code_08077B98.c
+++ b/src/code_08077B98.c
@@ -83,7 +83,7 @@ void* sub_08077C54(UnkItemStruct* unk) {
Entity* sub_08077C94(ItemBehavior* arg0, u32 arg1) {
Entity* iVar1;
- iVar1 = FindEntityByID(8, gUnk_0811BE48[arg1].unk0[3], 2);
+ iVar1 = FindEntityByID(PLAYER_ITEM, gUnk_0811BE48[arg1].unk0[3], 2);
if (iVar1 == NULL) {
return NULL;
}