diff --git a/code/cgame/cg_commands.cpp b/code/cgame/cg_commands.cpp index 5b8e725e..72af32c9 100644 --- a/code/cgame/cg_commands.cpp +++ b/code/cgame/cg_commands.cpp @@ -5004,7 +5004,7 @@ qboolean CG_Command_ProcessFile(const char* filename, qboolean quiet) const char* bufstart; char com_token[MAX_STRING_CHARS]; - if (cgi.FS_ReadFile(filename, (void**)&buffer, quiet) == -1) { + if (cgi.FS_ReadFile(filename, (void**)&buffer) == -1) { return qfalse; } diff --git a/code/cgame/cg_lightstyles.cpp b/code/cgame/cg_lightstyles.cpp index 05adfe46..d34895c9 100644 --- a/code/cgame/cg_lightstyles.cpp +++ b/code/cgame/cg_lightstyles.cpp @@ -134,7 +134,7 @@ static qboolean LoadTGA(const char * name, byte ** pic, int *width, int *height, // // load the file // - cgi.FS_ReadFile(name, (void **)&buffer, qtrue); + cgi.FS_ReadFile(name, (void **)&buffer); if (!buffer) { cgi.DPrintf( "TGA File not found: %s\n", name ); diff --git a/code/qcommon/script.cpp b/code/qcommon/script.cpp index f73d0044..9ac4c67f 100644 --- a/code/qcommon/script.cpp +++ b/code/qcommon/script.cpp @@ -45,7 +45,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #elif defined(CGAME_DLL) #define FILE_FS_FreeFile cgi.FS_FreeFile -#define FILE_FS_ReadFile(a, b) cgi.FS_ReadFile(a, b, true) +#define FILE_FS_ReadFile(a, b) cgi.FS_ReadFile(a, b) #define FILE_Malloc cgi.Malloc #define FILE_Free cgi.Free #define FILE_Error cgi.Error