diff --git a/src/sound/s_advsound.cpp b/src/sound/s_advsound.cpp index c0bf79b09..197434da7 100644 --- a/src/sound/s_advsound.cpp +++ b/src/sound/s_advsound.cpp @@ -948,10 +948,7 @@ static void S_ClearSoundData() unsigned int i; S_StopAllChannels(); - for (i = 0; i < S_sfx.Size(); ++i) - { - S_UnloadSound(&S_sfx[i]); - } + S_UnloadAllSounds(); S_sfx.Clear(); Ambients.Clear(); while (MusicVolumes != NULL)