From: havoc Date: Thu, 1 Jan 2004 02:33:48 +0000 (+0000) Subject: fixed the complaints about missing sounds (no longer complains after the initial... X-Git-Tag: xonotic-v0.1.0preview~6175 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=5b78b3567a82f44464f9fda37f4e681845d8258d;p=xonotic%2Fdarkplaces.git fixed the complaints about missing sounds (no longer complains after the initial precache failure) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3771 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_dma.c b/snd_dma.c index 29bb664b..2faf2967 100644 --- a/snd_dma.c +++ b/snd_dma.c @@ -474,7 +474,7 @@ void S_StartSound(int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float f int ch_idx; int skip; - if (!sound_started || !sfx || nosound.integer) + if (!sound_started || !sfx || !sfx->sfxcache || nosound.integer) return; vol = fvol*255;