From f1f0f1d48bdf274c17754b8a28c5bb55bb286b27 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Fri, 21 Sep 2007 09:58:17 +0000 Subject: [PATCH] Spike's temporary fix for the ruleset cvar latching problem with the string-field being null. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2664 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/cvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/cvar.c b/engine/common/cvar.c index ecb5923cb..772767319 100644 --- a/engine/common/cvar.c +++ b/engine/common/cvar.c @@ -743,7 +743,7 @@ qboolean Cvar_ApplyLatchFlag(cvar_t *var, char *value, int flag) #ifndef _MSC_VER #warning set or forceset? #endif - Cvar_Set(var, value); + Cvar_ForceSet(var, value); if (var->latched_string) { //something else latched it