Fix function name typo

This commit is contained in:
Joshua Peisach 2024-03-29 13:09:00 -04:00
parent 6dc7c67f29
commit 998a067930
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
3 changed files with 6 additions and 6 deletions

View File

@ -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'

View File

@ -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) {

View File

@ -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;
}