From d3fdee360f1ff1d74e917005b633c024e0538aba Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 14 Dec 2004 15:01:08 +0000 Subject: [PATCH] don't warn about svc_precache failing to precache sounds if snd_initialized is false (-nosound or -safe was used) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4842 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_parse.c b/cl_parse.c index 4f509d7c..3b9f93d8 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -1516,7 +1516,7 @@ void CL_ParseServerMessage(void) if (i >= 1 && i < MAX_SOUNDS) { sfx_t *sfx = S_PrecacheSound (s, true, false); - if (!sfx) + if (!sfx && snd_initialized.integer) Con_Printf("svc_precache: S_PrecacheSound(\"%s\") failed\n", s); cl.sound_precache[i] = sfx; } -- 2.39.2