mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 05:21:58 +00:00
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:
parent
5314fb8cca
commit
f5b74e900c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
*gzfile = NULL;
|
||||||
com_filesize = -1;
|
com_filesize = -1;
|
||||||
|
|
Loading…
Reference in a new issue