1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

Modification in concordance with commit 91bd6ae

This commit is contained in:
Louis M 2024-02-28 13:53:39 -05:00
parent 91bd6ae022
commit 871b37906b

View file

@ -1572,7 +1572,10 @@ void SoundManager::clearLocalSounds()
std::string snd = (*i);
debugLog("unloading sound [" + snd + "]");
FMOD::Sound *samp = (FMOD::Sound*)soundMap[snd];
if (samp)
{
samp->release();
}
soundMap[snd] = 0;
}
localSounds.clear();