Remove getters/setters that (likely) don't exist (#1583)

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2025-06-23 20:58:16 +02:00
committed by GitHub
parent 1701117e6f
commit edae5f58ec
6 changed files with 14 additions and 22 deletions

View File

@@ -488,7 +488,7 @@ MxResult Act3::Create(MxDSAction& p_dsAction)
case LegoGameState::e_act1:
case LegoGameState::e_actNotFound:
GameState()->StopArea(LegoGameState::e_undefined);
if (GameState()->GetPreviousArea() == LegoGameState::e_infomain) {
if (GameState()->m_previousArea == LegoGameState::e_infomain) {
GameState()->StopArea(LegoGameState::e_isle);
}
}
@@ -505,7 +505,7 @@ MxResult Act3::Create(MxDSAction& p_dsAction)
GameState()->m_currentArea = LegoGameState::e_act3script;
GameState()->SetCurrentAct(LegoGameState::e_act3);
GameState()->SetDirty(TRUE);
GameState()->m_isDirty = TRUE;
}
return result;
@@ -883,7 +883,7 @@ void Act3::Enable(MxBool p_enable)
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
PlayMusic(JukeboxScript::c_Act3Music);
GameState()->SetDirty(TRUE);
GameState()->m_isDirty = TRUE;
if (m_time > 0) {
MxFloat delta = Timer()->GetTime() - m_time - 100.0f;