mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
make missing texture no-spam hack safer
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@629 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
33c1ea94c4
commit
8f4e287407
1 changed files with 4 additions and 4 deletions
|
@ -1584,10 +1584,10 @@ static int COM_FindFile (const char *filename, int *handle, FILE **file,
|
|||
}
|
||||
|
||||
|
||||
// Don't spam about missing pcx textures
|
||||
l = strlen(filename);
|
||||
if (strcmp (filename+l-3,"pcx") != 0)
|
||||
Con_DPrintf ("FindFile: can't find %s\n", filename);
|
||||
// Don't spam about missing pcx textures
|
||||
l = strlen(filename);
|
||||
if (l<3 || strcmp (filename+l-3,"pcx") != 0)
|
||||
Con_DPrintf ("FindFile: can't find %s\n", filename);
|
||||
|
||||
if (handle)
|
||||
*handle = -1;
|
||||
|
|
Loading…
Reference in a new issue