mirror of
https://github.com/zeldaret/tmc
synced 2026-08-20 06:06:54 -04:00
Add playeritem enum and use ids and kinds in all Findentity calls
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user