]> icculus.org git repositories - divverent/darkplaces.git/commit
Check sfx->fetcher instead of ch_ind < 0 before freeing an sfx, since ch_ind < 0...
authorblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Dec 2009 09:56:34 +0000 (09:56 +0000)
committerblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Dec 2009 09:56:34 +0000 (09:56 +0000)
commit4be2a5bf75beb62b1644dec10195d5321ef71b4d
tree5e8616f007c6c174ae3b4c03bac6af264dda89de
parent9a313d7ec31ba0d2b97f581929da30caee7da874
Check sfx->fetcher instead of ch_ind < 0 before freeing an sfx, since ch_ind < 0 does NOT mean the sfx file didn't exist, but that it failed to play for other (unlikely) reasons.

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