From 3a5b43816d4c1b41eebd0eab12cc1a19d3f6f9cd Mon Sep 17 00:00:00 2001 From: Ozkan Sezer 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@9 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Quake/common.c b/Quake/common.c index b8751c9f..687c2d63 100644 --- a/Quake/common.c +++ b/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;