diff --git a/client/cl_http.c b/client/cl_http.c index 0fabaf5..b1110ae 100644 --- a/client/cl_http.c +++ b/client/cl_http.c @@ -697,7 +697,7 @@ static void CL_CheckAndQueueDownload (char *path) } else { - Com_Printf ("[HTTP] NOTICE: pak file (%s) specified in filelist already exists\n", gamePath); + // Com_Printf ("[HTTP] NOTICE: pak file (%s) specified in filelist already exists\n", gamePath); exists = true; fclose (f); } @@ -736,7 +736,7 @@ static void CL_CheckAndQueueDownload (char *path) } else { - Com_Printf ("[HTTP] NOTICE: requested file (%s) already exists\n", path); + // Com_Printf ("[HTTP] NOTICE: requested file (%s) already exists\n", path); } } else diff --git a/client/cl_parse.c b/client/cl_parse.c index b2bf127..84864ce 100644 --- a/client/cl_parse.c +++ b/client/cl_parse.c @@ -534,7 +534,7 @@ void CL_ParseConfigString (void) cl.configstrings[CS_PAKFILE-1][MAX_QPATH-1] = 0; // null terminate end of section } else { - if (length >= MAX_PATH) + if (length >= MAX_QPATH) Com_Printf(S_COLOR_YELLOW"CL_ParseConfigString: string %d of length %d exceeds MAX_QPATH.\n", i, (int)length); Q_strncpyz (cl.configstrings[i], s, sizeof(cl.configstrings[i])); } diff --git a/renderer/r_main.c b/renderer/r_main.c index dfb36e8..98b2154 100644 --- a/renderer/r_main.c +++ b/renderer/r_main.c @@ -661,22 +661,12 @@ void R_RenderView (refdef_t *fd) if (r_newrefdef.rdflags & RDF_NOWORLDMODEL) // options menu { - /* qboolean fog_on = false; - // Knightmare- no fogging on menu/hud models - if (qglIsEnabled(GL_FOG)) //check if fog is enabled - { - fog_on = true; - qglDisable(GL_FOG); //if so, disable it - }*/ R_SuspendFog (); // R_DrawAllDecals(); R_DrawAllEntities(false); R_DrawAllParticles(); - // re-enable fog if it was on - // if (fog_on) - // qglEnable(GL_FOG); R_ResumeFog (); } else