diff --git a/LEGO1/lego/legoomni/include/legogamestate.h b/LEGO1/lego/legoomni/include/legogamestate.h index ee007464..e088618d 100644 --- a/LEGO1/lego/legoomni/include/legogamestate.h +++ b/LEGO1/lego/legoomni/include/legogamestate.h @@ -215,7 +215,6 @@ class LegoGameState { void SetDirty(MxBool p_isDirty) { m_isDirty = p_isDirty; } void SetPreviousArea(Area p_previousArea) { m_previousArea = p_previousArea; } void SetActorId(MxU8 p_actorId) { m_actorId = p_actorId; } - void SetUnknown0x42c(Area p_unk0x42c) { m_unk0x42c = p_unk0x42c; } Username* GetPlayersIndex(MxS32 p_index) { return &m_players[p_index]; } MxS16 GetPlayerCount() { return m_playerCount; } LegoBackgroundColor* GetBackgroundColor() { return m_backgroundColor; } diff --git a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp index f16eeb68..b7299c5a 100644 --- a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp +++ b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp @@ -1117,7 +1117,7 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param) actionToPlay = GameState()->GetCurrentAct() != LegoGameState::e_act1 ? InfomainScript::c_GoTo_RegBook_Red : InfomainScript::c_GoTo_RegBook; m_radio.Stop(); - GameState()->SetUnknown0x42c(GameState()->GetPreviousArea()); + GameState()->m_unk0x42c = GameState()->GetPreviousArea(); InputManager()->DisableInputProcessing(); break; case InfomainScript::c_Mama_Ctl: @@ -1426,7 +1426,7 @@ void Infocenter::Reset() CharacterManager()->ReleaseAllActors(); GameState()->SetCurrentAct(LegoGameState::e_act1); GameState()->SetPreviousArea(LegoGameState::e_undefined); - GameState()->SetUnknown0x42c(LegoGameState::e_undefined); + GameState()->m_unk0x42c = LegoGameState::e_undefined; InitializeBitmaps(); m_selectedCharacter = e_pepper;