fix regressions (#653)

This commit is contained in:
Ramen2X 2024-03-10 12:45:46 -04:00 committed by GitHub
parent 7fad763699
commit c28c2aeb52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ JukeboxScript::Script g_unk0x100f3230[14] = {
// GLOBAL: LEGO1 0x100f3268
JukeboxScript::Script g_unk0x100f3268[9] = {
JukeboxScript::c_CentralRoads_Music,
JukeboxScript::c_Beach_Music,
JukeboxScript::c_BeachBlvd_Music,
JukeboxScript::c_ResidentalArea_Music,
JukeboxScript::c_Radio1_Music,
JukeboxScript::c_Radio2_Music,

View file

@ -130,13 +130,13 @@ MxBool JukeBox::HandleClick(LegoControlManagerEvent& p_param)
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Torpedos_Bitmap");
presenter->Enable(TRUE);
break;
case JukeboxScript::c_Jail_Music:
case JukeboxScript::c_MusicTheme3:
m_state->SetState(JukeboxScript::c_MusicTheme1);
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Right_Bitmap");
presenter->Enable(FALSE);
break;
case JukeboxScript::c_Act2Cave:
m_state->SetState(JukeboxScript::c_Jail_Music);
m_state->SetState(JukeboxScript::c_MusicTheme3);
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Decal_Bitmap");
presenter->Enable(FALSE);
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Right_Bitmap");
@ -168,11 +168,11 @@ MxBool JukeBox::HandleClick(LegoControlManagerEvent& p_param)
case JukeboxwScript::c_Dfwd_Ctl:
switch (m_state->GetState()) {
case JukeboxScript::c_MusicTheme1:
m_state->SetState(JukeboxScript::c_Jail_Music);
m_state->SetState(JukeboxScript::c_MusicTheme3);
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Right_Bitmap");
presenter->Enable(TRUE);
break;
case JukeboxScript::c_Jail_Music:
case JukeboxScript::c_MusicTheme3:
m_state->SetState(JukeboxScript::c_Act2Cave);
presenter = (MxStillPresenter*) Find("MxStillPresenter", "Right_Bitmap");
presenter->Enable(FALSE);