- eliminate a little bit of redundancy.

This commit is contained in:
Christoph Oelckers 2019-10-01 20:13:40 +02:00
parent d2c156224b
commit b9d4e77214

View file

@ -948,10 +948,7 @@ static void S_ClearSoundData()
unsigned int i; unsigned int i;
S_StopAllChannels(); S_StopAllChannels();
for (i = 0; i < S_sfx.Size(); ++i) S_UnloadAllSounds();
{
S_UnloadSound(&S_sfx[i]);
}
S_sfx.Clear(); S_sfx.Clear();
Ambients.Clear(); Ambients.Clear();
while (MusicVolumes != NULL) while (MusicVolumes != NULL)