silence COM_FOpenFile when the file can't be opened unless developer is set.

It is the caller's responsibility to report failure.
This commit is contained in:
Bill Currie 2000-10-10 23:19:53 +00:00
parent 5314fb8cca
commit f5b74e900c

View file

@ -578,6 +578,7 @@ _COM_FOpenFile (char *filename, QFile **gzfile, char *foundname, int zip)
} }
if(developer->int_val)
Sys_Printf ("FindFile: can't find %s\n", filename); Sys_Printf ("FindFile: can't find %s\n", filename);
*gzfile = NULL; *gzfile = NULL;