[PATCH] Fix Error generating sound source: Out of memory

Thanks Indev!
This commit is contained in:
NepDisk 2025-11-10 16:26:54 +01:00
parent 310d68075b
commit 2299c08941

View file

@ -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--;