Implement/match Lego3DSound::SetDistance and Reset (#984)

This commit is contained in:
Christian Semmler
2024-06-01 13:45:22 -04:00
committed by GitHub
parent 919a3f5c49
commit ac4e8da662
8 changed files with 42 additions and 19 deletions

View File

@@ -619,7 +619,7 @@ void LegoBuildingManager::ScheduleAnimation(LegoEntity* p_entity, MxU32 p_length
if (p_haveSound) {
m_sound = SoundManager()->GetCacheSoundManager()->FindSoundByKey("bcrash");
m_sound->FUN_10006cb0(35, 60);
m_sound->SetDistance(35, 60);
}
if (m_numEntries == 0) {