reset sound channel origin in s_stopchannel

This commit is contained in:
Alug committed 2024-03-24 20:15:33 +01:00
1 parent e1ff973bca
commit 00db0a71f7
1 file changed
+2 -1
+2 -1
View File
@@ -970,9 +970,10 @@ static void S_StopChannel(INT32 cnum)
// degrade usefulness of sound data
c->sfxinfo->usefulness--;
c->sfxinfo = 0;
}
c->origin = NULL;
}
//