Implement/match LegoCacheSound::Play and Lego3DSound::FUN_10011a60 (#987)

* Implement/match LegoCacheSound::Play and Lego3DSound::FUN_10011a60

* Update names

* Update
This commit is contained in:
Christian Semmler
2024-06-02 11:09:09 -04:00
committed by GitHub
parent 03ffb9c5de
commit 828b35e9d2
10 changed files with 193 additions and 55 deletions

View File

@@ -204,7 +204,7 @@ void LegoWorld::Destroy(MxBool p_fromDestructor)
while (cursor.First(sound)) {
cursor.Detach();
SoundManager()->GetCacheSoundManager()->FUN_1003dc40(&sound);
SoundManager()->GetCacheSoundManager()->Destroy(sound);
}
delete m_cacheSoundList;