common.c (COM_FindFile): Made PackFile debug message prints into Con_DPrintf so

that they don't spam the console.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@9 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-02-16 08:40:26 +00:00
parent 484cc36fce
commit 2db0a55f84
1 changed files with 3 additions and 3 deletions

View File

@ -1471,7 +1471,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
for (i=0 ; i<pak->numfiles ; i++)
if (!strcmp (pak->files[i].name, filename))
{ // found it!
Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename);
Con_DPrintf ("PackFile: %s : %s\n",pak->filename, filename);
if (handle)
{
*handle = pak->handle;
@ -1523,7 +1523,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
strcpy (netpath, cachepath);
}
Sys_Printf ("FindFile: %s\n",netpath);
Con_DPrintf ("FindFile: %s\n",netpath);
com_filesize = Sys_FileOpenRead (netpath, &i);
if (handle)
*handle = i;
@ -1537,7 +1537,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
}
Sys_Printf ("FindFile: can't find %s\n", filename);
Con_DPrintf ("FindFile: can't find %s\n", filename);
if (handle)
*handle = -1;