mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 14:01:26 +00:00
common.c (COM_FindFile): Made PackFile debug message prints into Con_DPrintf so
that they don't spam the console. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@9 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
5c023d21ad
commit
3a5b43816d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue