From f5b74e900cf9cfd2c19f760e3f770ae8ea68ad24 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 10 Oct 2000 23:19:53 +0000 Subject: [PATCH] silence COM_FOpenFile when the file can't be opened unless developer is set. It is the caller's responsibility to report failure. --- source/quakefs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/quakefs.c b/source/quakefs.c index 6468ee7..7c636f0 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -578,7 +578,8 @@ _COM_FOpenFile (char *filename, QFile **gzfile, char *foundname, int zip) } - Sys_Printf ("FindFile: can't find %s\n", filename); + if(developer->int_val) + Sys_Printf ("FindFile: can't find %s\n", filename); *gzfile = NULL; com_filesize = -1;