diff --git a/source/host_cmd.c b/source/host_cmd.c index 4ee19b0..45cb81b 100644 --- a/source/host_cmd.c +++ b/source/host_cmd.c @@ -612,7 +612,7 @@ void Host_Loadgame_f (void) // SCR_BeginLoadingPlaque (); Con_Printf ("Loading game from %s...\n", name); - f = Qopen (name, "r"); + f = Qopen (name, "rz"); if (!f) { Con_Printf ("ERROR: couldn't open.\n"); diff --git a/source/menu.c b/source/menu.c index 4fa6489..dbf1b32 100644 --- a/source/menu.c +++ b/source/menu.c @@ -482,7 +482,7 @@ void M_ScanSaves (void) strcpy (m_filenames[i], "--- UNUSED SLOT ---"); loadable[i] = false; snprintf (name, sizeof(name), "%s/s%i.sav", com_gamedir, i); - f = Qopen (name, "r"); + f = Qopen (name, "rz"); if (!f) continue; Qgets(f,buf,sizeof(buf)); diff --git a/source/quakefs.c b/source/quakefs.c index 1903a7a..5828382 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -213,7 +213,7 @@ COM_FileOpenRead (char *path, QFile **hndl) { QFile *f; - f = Qopen(path, "rb"); + f = Qopen(path, "rbz"); if (!f) { *hndl = NULL; @@ -403,7 +403,7 @@ COM_OpenRead (const char *path, int offs, int len) #ifdef WIN32 setmode(fd,O_BINARY); #endif - return Qdopen(fd,"rb"); + return Qdopen(fd,"rbz"); return 0; }