diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-02-18 18:18:40 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-02-18 18:18:40 +0200 |
| commit | 0e224cf2323a76539730ee35f4e8a0856cf7a1fd (patch) | |
| tree | 4153b4359e569ce555626b85c63a0533d26eb348 /src/code_08077B98.c | |
| parent | 10f8096abd9533e14a5ad03eedcbee4fcbb9019a (diff) | |
Add playeritem enum and use ids and kinds in all Findentity calls
Diffstat (limited to 'src/code_08077B98.c')
| -rw-r--r-- | src/code_08077B98.c | 2 |
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; } |
