From c0aa905347dd1f9a01ee6e5295b4590bc319a75c Mon Sep 17 00:00:00 2001 From: Knightmare66 Date: Mon, 1 Jun 2020 18:43:52 -0400 Subject: [PATCH] Removed userinfo flag from cvars cl_engine and cl_engine_version. Fixes userinfo overflow with certain mods that results in null player name. --- client/cl_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cl_main.c b/client/cl_main.c index 8738bfa..a090c4f 100644 --- a/client/cl_main.c +++ b/client/cl_main.c @@ -1681,8 +1681,8 @@ void CL_InitLocal (void) cl_vwep = Cvar_Get ("cl_vwep", "1", CVAR_ARCHIVE); // for the server to tell which version the client is - cl_engine = Cvar_Get ("cl_engine", "KMQuake2", CVAR_USERINFO | CVAR_NOSET | CVAR_LATCH); - cl_engine_version = Cvar_Get ("cl_engine_version", va("%4.2f",VERSION), CVAR_USERINFO | CVAR_NOSET | CVAR_LATCH); + cl_engine = Cvar_Get ("cl_engine", "KMQuake2", /*CVAR_USERINFO |*/ CVAR_NOSET | CVAR_LATCH); + cl_engine_version = Cvar_Get ("cl_engine_version", va("%4.2f",VERSION), /*CVAR_USERINFO |*/ CVAR_NOSET | CVAR_LATCH); #ifdef LOC_SUPPORT // Xile/NiceAss LOC cl_drawlocs = Cvar_Get("cl_drawlocs", "0", 0);