]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
MUTATORSYSTEM: set value of argument get_cvars_s before calling the hook
authorFlorian Paul Schmidt <mista.tapas@gmx.net>
Sun, 21 Mar 2010 00:53:48 +0000 (01:53 +0100)
committerFlorian Paul Schmidt <mista.tapas@gmx.net>
Sun, 21 Mar 2010 00:53:48 +0000 (01:53 +0100)
qcsrc/server/miscfunctions.qc

index dda27b8faa2a81d9261770d395393fc49e90d4fe..479a69106fa9f39956457ecb12bf511304786593 100644 (file)
@@ -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");