From 2db0a55f846d8367c846edf9192ae0315cc30124 Mon Sep 17 00:00:00 2001 From: sezero Date: Tue, 16 Feb 2010 08:40:26 +0000 Subject: [PATCH] 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 --- quakespasm/Quake/common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quakespasm/Quake/common.c b/quakespasm/Quake/common.c index b8751c9f..687c2d63 100644 --- a/quakespasm/Quake/common.c +++ b/quakespasm/Quake/common.c @@ -1471,7 +1471,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file) for (i=0 ; inumfiles ; 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;