mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- eliminate a little bit of redundancy.
This commit is contained in:
parent
d2c156224b
commit
b9d4e77214
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue