[PATCH] Fix Error generating sound source: Out of memory
Thanks Indev!
This commit is contained in:
parent
310d68075b
commit
2299c08941
1 changed files with 1 additions and 2 deletions
|
|
@ -1001,8 +1001,7 @@ static void S_StopChannel(INT32 cnum)
|
|||
if (c->sfxinfo)
|
||||
{
|
||||
// stop the sound playing
|
||||
if (I_SoundIsPlaying(c->handle))
|
||||
I_StopSound(c->handle);
|
||||
I_StopSound(c->handle);
|
||||
|
||||
// degrade usefulness of sound data
|
||||
c->sfxinfo->usefulness--;
|
||||
|
|
|
|||
Loading…
Reference in a new issue