Refine missing texture no-spam hack.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@628 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Steven 2012-02-08 00:53:29 +00:00
parent 9f11380a74
commit 33c1ea94c4

View file

@ -1584,9 +1584,9 @@ static int COM_FindFile (const char *filename, int *handle, FILE **file,
} }
// Don't spam about missing external textures // Don't spam about missing pcx textures
l = strlen(filename); l = strlen(filename);
if (strcmp (filename+l-3,"pcx") != 0 && strcmp (filename+l-3,"tga") != 0) if (strcmp (filename+l-3,"pcx") != 0)
Con_DPrintf ("FindFile: can't find %s\n", filename); Con_DPrintf ("FindFile: can't find %s\n", filename);
if (handle) if (handle)