mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
fix regressions (#653)
This commit is contained in:
parent
7fad763699
commit
c28c2aeb52
2 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue