From 12305bb04409f75a4924ddd807f099eea6c73147 Mon Sep 17 00:00:00 2001 From: Samual Date: Fri, 11 Nov 2011 13:17:00 -0500 Subject: [PATCH] Fix compile bug --- qcsrc/client/gamecommand.qc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qcsrc/client/gamecommand.qc b/qcsrc/client/gamecommand.qc index 0ee13f06f..f499bb7c5 100644 --- a/qcsrc/client/gamecommand.qc +++ b/qcsrc/client/gamecommand.qc @@ -73,24 +73,24 @@ entity debug_shotorg; // Misc. Supporting Functions // ============================ -float cvar_clientsettemp(string cvar, string value) +float cvar_clientsettemp(string tmp_cvar, string value) { entity e; for(e = world; (e = find(e, classname, "saved_cvar_value")); ) - if(e.netname == cvar) + if(e.netname == tmp_cvar) goto saved; // creating a new entity to keep track of this cvar e = spawn(); e.classname = "saved_cvar_value"; - e.netname = strzone(cvar); - e.message = strzone(cvar_string(cvar)); + e.netname = strzone(tmp_cvar); + e.message = strzone(cvar_string(tmp_cvar)); return TRUE; // an entity for this cvar already exists, update the value :saved - cvar_set(cvar, value); + cvar_set(tmp_cvar, value); return FALSE; } -- 2.39.2