From: Florian Paul Schmidt Date: Sun, 21 Mar 2010 00:53:48 +0000 (+0100) Subject: MUTATORSYSTEM: set value of argument get_cvars_s before calling the hook X-Git-Tag: xonotic-v0.1.0preview~680^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1d687f0a3b3b4e30dba2ac8c4eded55f0230e4e0;p=xonotic%2Fxonotic-data.pk3dir.git MUTATORSYSTEM: set value of argument get_cvars_s before calling the hook --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index dda27b8fa..479a69106 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -598,6 +598,7 @@ void GetCvars(float f) s = strcat1(argv(f)); get_cvars_f = f; + get_cvars_s = s; MUTATOR_CALLHOOK(GetCvars); GetCvars_handleFloat(s, f, autoswitch, "cl_autoswitch"); GetCvars_handleFloat(s, f, cvar_cl_playerdetailreduction, "cl_playerdetailreduction");