From 5b78b3567a82f44464f9fda37f4e681845d8258d Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 1 Jan 2004 02:33:48 +0000 Subject: [PATCH] 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 --- snd_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2