ref: fb364d533b2a6510611ca3edf533176204a1fd59
parent: efd15d965dee947a04727bb62f4e2092cf28732f
author: Simon Howard <[email protected]>
date: Mon Sep 12 17:30:26 EDT 2011
Fix bug in doubly-linked list implementation. Subversion-branch: /branches/strife-branch Subversion-revision: 2368
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -101,6 +101,10 @@
{
allocated_sounds_tail = snd;
}
+ else
+ {
+ snd->next->prev = snd;
+ }
}
// Unlink a sound from the linked list.