mirror of
https://github.com/zeldaret/ph
synced 2026-05-31 09:21:38 -04:00
Fix ItemManager error
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user