]> icculus.org git repositories - divverent/darkplaces.git/commit
For now, ground snd_restart and snd_unloadallsounds if the client is still connected...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 Sep 2007 08:15:29 +0000 (08:15 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 Sep 2007 08:15:29 +0000 (08:15 +0000)
commit007638686ae47cba7696a37758ef92374afd09a4
treee170389c2df0cc4f1eb1457aac2c93a03148a219
parent353e8145caaa147fc7a469a7081f93cbd0966d57
For now, ground snd_restart and snd_unloadallsounds if the client is still connected, because DP keeps references to the sfx_t * that are being freed in the precache list. A real fix however would be ditching snd_unloadallsounds completely, and making a snd_reload command that unloads the sounds that are not being used at the moment, and reloads the sounds that are referenced.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7563 d7cf8633-e32d-0410-b094-e92efae38249
snd_main.c