mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-19 02:22:01 +00:00
common.c (COM_FindFile): commented out the debug messages about finding
and not finding a file. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@74 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
8fe8478be1
commit
7a3e347d0a
1 changed files with 3 additions and 3 deletions
|
@ -1493,8 +1493,8 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
|
||||||
pak = search->pack;
|
pak = search->pack;
|
||||||
for (i=0 ; i<pak->numfiles ; i++)
|
for (i=0 ; i<pak->numfiles ; i++)
|
||||||
if (!strcmp (pak->files[i].name, filename))
|
if (!strcmp (pak->files[i].name, filename))
|
||||||
{ // found it!
|
{ // found it!
|
||||||
Con_DPrintf ("PackFile: %s : %s\n",pak->filename, filename);
|
// Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename);
|
||||||
if (handle)
|
if (handle)
|
||||||
{
|
{
|
||||||
*handle = pak->handle;
|
*handle = pak->handle;
|
||||||
|
@ -1546,7 +1546,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
|
||||||
strcpy (netpath, cachepath);
|
strcpy (netpath, cachepath);
|
||||||
}
|
}
|
||||||
|
|
||||||
Con_DPrintf ("FindFile: %s\n",netpath);
|
// Sys_Printf ("FindFile: %s\n",netpath);
|
||||||
com_filesize = Sys_FileOpenRead (netpath, &i);
|
com_filesize = Sys_FileOpenRead (netpath, &i);
|
||||||
if (handle)
|
if (handle)
|
||||||
*handle = i;
|
*handle = i;
|
||||||
|
|
Loading…
Reference in a new issue