Skip to content

Commit

Permalink
- eliminate a little bit of redundancy.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 1, 2019
1 parent d2c1562 commit b9d4e77
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sound/s_advsound.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit b9d4e77

Please sign in to comment.