- eliminate a little bit of redundancy.

This commit is contained in:
Christoph Oelckers 2019-10-01 20:13:40 +02:00 committed by drfrag
parent 89d7330ba9
commit ba071d7044

View file

@ -955,10 +955,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)