From 998a067930e94e74b19ad58f2a78b191dabff60f Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 29 Mar 2024 13:09:00 -0400 Subject: [PATCH] Fix function name typo --- LEGO1/lego/legoomni/include/act3.h | 4 ++-- LEGO1/lego/legoomni/src/actors/helicopter.cpp | 4 ++-- LEGO1/lego/legoomni/src/infocenter/infocenterentity.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LEGO1/lego/legoomni/include/act3.h b/LEGO1/lego/legoomni/include/act3.h index eb4161ff..2883ff9d 100644 --- a/LEGO1/lego/legoomni/include/act3.h +++ b/LEGO1/lego/legoomni/include/act3.h @@ -35,8 +35,8 @@ class Act3 : public LegoWorld { MxBool VTable0x64() override; // vtable+0x64 void Enable(MxBool p_enable) override; // vtable+0x68 - inline void SetUnkown420c(MxEntity* p_entity) { m_unk0x420c = p_entity; } - inline void SetUnkown4270(MxU32 p_unk0x4270) { m_unk0x4270 = p_unk0x4270; } + inline void SetUnknown420c(MxEntity* p_entity) { m_unk0x420c = p_entity; } + inline void SetUnknown4270(MxU32 p_unk0x4270) { m_unk0x4270 = p_unk0x4270; } // SYNTHETIC: LEGO1 0x10072630 // Act3::`scalar deleting destructor' diff --git a/LEGO1/lego/legoomni/src/actors/helicopter.cpp b/LEGO1/lego/legoomni/src/actors/helicopter.cpp index 1a85c4e6..3f670a48 100644 --- a/LEGO1/lego/legoomni/src/actors/helicopter.cpp +++ b/LEGO1/lego/legoomni/src/actors/helicopter.cpp @@ -41,7 +41,7 @@ MxResult Helicopter::Create(MxDSAction& p_dsAction) LegoWorld* world = CurrentWorld(); SetWorld(world); if (world->IsA("Act3")) { - ((Act3*) GetWorld())->SetUnkown420c(this); + ((Act3*) GetWorld())->SetUnknown420c(this); } world = GetWorld(); if (world) { @@ -160,7 +160,7 @@ MxU32 Helicopter::VTable0xd4(LegoControlManagerEvent& p_param) switch (p_param.GetClickedObjectId()) { case IsleScript::c_HelicopterArms_Ctl: if (*g_act3Script == script) { - ((Act3*) CurrentWorld())->SetUnkown4270(2); + ((Act3*) CurrentWorld())->SetUnknown4270(2); TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE); } else if (m_state->GetUnkown8() != 0) { diff --git a/LEGO1/lego/legoomni/src/infocenter/infocenterentity.cpp b/LEGO1/lego/legoomni/src/infocenter/infocenterentity.cpp index 72e5d734..c6b29b3c 100644 --- a/LEGO1/lego/legoomni/src/infocenter/infocenterentity.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/infocenterentity.cpp @@ -47,13 +47,13 @@ MxLong InfoCenterEntity::VTable0x50(MxParam& p_param) act2->SetUnknown0x1150(2); act2state = (LegoAct2State*) GameState()->GetState("LegoAct2State"); - if(act2state) { + if (act2state) { act2state->SetUnknown0x0C(0); } break; case LegoGameState::Act::e_act3: act3 = (Act3*) FindWorld(*g_act3Script, Act3Script::c__Act3); - act3->SetUnkown4270(2); + act3->SetUnknown4270(2); break; }