ref: 130c5a5c991a608a6f7c2fb5da691768b5a164c9
parent: 7caca1df65b938b1f170042d007f64aab2191b01
author: James Haley <[email protected]>
date: Thu Aug 25 20:36:40 EDT 2016
Get rid of debug comment, and move call up
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -343,13 +343,12 @@
{
allocated_sound_t *snd = channels_playing[channel];
+ Mix_HaltChannel(channel);
+
if (snd == NULL)
{
return;
}
-
- // DEBUG
- Mix_HaltChannel(channel);
channels_playing[channel] = NULL;