diff options
-rw-r--r-- | src/i_sdlsound.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c index e3118a82..4169a921 100644 --- a/src/i_sdlsound.c +++ b/src/i_sdlsound.c @@ -101,6 +101,10 @@ static void AllocatedSoundLink(allocated_sound_t *snd) { allocated_sounds_tail = snd; } + else + { + snd->next->prev = snd; + } } // Unlink a sound from the linked list. |