Implement/match LegoAct2::Enable (#1178)

This commit is contained in:
Christian Semmler
2024-11-29 14:32:40 -07:00
committed by GitHub
parent 362551e279
commit e8e457f01a
9 changed files with 156 additions and 44 deletions

View File

@@ -208,11 +208,11 @@ MxTransitionManager* TransitionManager()
}
// FUNCTION: LEGO1 0x10015910
void PlayMusic(JukeboxScript::Script p_script)
void PlayMusic(JukeboxScript::Script p_objectId)
{
MxDSAction action;
action.SetAtomId(*g_jukeboxScript);
action.SetObjectId(p_script);
action.SetObjectId(p_objectId);
LegoOmni::GetInstance()->GetBackgroundAudioManager()->PlayMusic(action, 5, MxPresenter::e_repeating);
}