diff options
| author | Aetias <aetias@outlook.com> | 2024-09-14 10:55:59 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-09-14 10:55:59 +0200 |
| commit | 514f8e43da82d09fa346c1d63af042a93731f557 (patch) | |
| tree | e246cda1200b9ae44fc3751a420573ba1bb0e884 /src/00_Core/Item/ItemManager.cpp | |
| parent | ce3ed5448101916365f490d90e3e11268358101e (diff) | |
Fix `ItemManager` error
Diffstat (limited to 'src/00_Core/Item/ItemManager.cpp')
| -rw-r--r-- | src/00_Core/Item/ItemManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp index dccd4205..0f28dd2f 100644 --- a/src/00_Core/Item/ItemManager.cpp +++ b/src/00_Core/Item/ItemManager.cpp @@ -237,7 +237,6 @@ extern "C" unk32 func_ov00_02078b40(UnkStruct_027e0d38 *param1); extern void *data_027e10a4;
extern "C" bool func_ov15_02136670(void *param1);
extern unk8 data_ov29_0217a4ac[];
-extern "C" bool _ZN10MapManager18func_ov00_020849f8Ei(void *param1);
extern "C" bool _ZN14PlayerLinkBase18func_ov00_020bbd80Ei(unk32 param1, unk32 param2);
extern "C" bool _ZNK11ItemManager7HasItemEi();
extern "C" void _ZN11ItemManager12GetEquipItemEi();
@@ -251,7 +250,7 @@ ARM bool ItemManager::func_ov00_020ad790(unk32 param1) { }
ItemFlag equipId = mForcedItem;
- bool unk2 = !gMapManager->func_ov00_020849f8();
+ bool unk2 = !gMapManager->func_ov00_020849f8(equipId);
if (
mEquippedItem != ItemFlag_None &&
(unk2 || (u32) mEquippedItem - 9 <= 1) &&
|
