mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +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;
|
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)
|
||||||
|
|
Loading…
Reference in a new issue