mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Clear unknown in MxSoundManager
(#1641)
This commit is contained in:
@@ -1230,7 +1230,7 @@ undefined4 LegoCarBuild::FUN_10024c20(MxNotificationParam* p_param)
|
|||||||
jukeboxScript = JukeboxScript::c_RaceCarBuild_Music;
|
jukeboxScript = JukeboxScript::c_RaceCarBuild_Music;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_unk0x338 = SoundManager()->FUN_100aebd0(*g_jukeboxScript, jukeboxScript);
|
m_unk0x338 = SoundManager()->FindPresenter(*g_jukeboxScript, jukeboxScript);
|
||||||
|
|
||||||
if (m_unk0x338) {
|
if (m_unk0x338) {
|
||||||
BackgroundAudioManager()->SetPendingPresenter(m_unk0x338, 5, MxPresenter::e_repeating);
|
BackgroundAudioManager()->SetPendingPresenter(m_unk0x338, 5, MxPresenter::e_repeating);
|
||||||
|
@@ -25,7 +25,7 @@ public:
|
|||||||
|
|
||||||
MxS32 GetAttenuation(MxU32 p_volume);
|
MxS32 GetAttenuation(MxU32 p_volume);
|
||||||
|
|
||||||
MxPresenter* FUN_100aebd0(const MxAtomId& p_atomId, MxU32 p_objectId);
|
MxPresenter* FindPresenter(const MxAtomId& p_atomId, MxU32 p_objectId);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void Init();
|
void Init();
|
||||||
|
@@ -179,7 +179,7 @@ void MxSoundManager::SetVolume(MxS32 p_volume)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100aebd0
|
// FUNCTION: LEGO1 0x100aebd0
|
||||||
MxPresenter* MxSoundManager::FUN_100aebd0(const MxAtomId& p_atomId, MxU32 p_objectId)
|
MxPresenter* MxSoundManager::FindPresenter(const MxAtomId& p_atomId, MxU32 p_objectId)
|
||||||
{
|
{
|
||||||
AUTOLOCK(m_criticalSection);
|
AUTOLOCK(m_criticalSection);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user