]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Fri, 26 May 2017 12:56:57 +0000 (22:56 +1000)
committerMario <mario@smbclan.net>
Fri, 26 May 2017 12:56:57 +0000 (22:56 +1000)
qcsrc/server/client.qc

index ace49488e6aa848e55c15ad7e6945b215abe5715..2ab3160ed7e951f390e402b4a480ed68e87e16be 100644 (file)
@@ -1041,8 +1041,8 @@ void FixClientCvars(entity e)
        if(autocvar_sv_gentle)
                stuffcmd(e, "cl_cmd settemp cl_gentle 1\n");
 
-       stuffcmd(this, sprintf("\ncl_jumpspeedcap_min \"%s\"\n", autocvar_sv_jumpspeedcap_min));
-       stuffcmd(this, sprintf("\ncl_jumpspeedcap_max \"%s\"\n", autocvar_sv_jumpspeedcap_max));
+       stuffcmd(e, sprintf("\ncl_jumpspeedcap_min \"%s\"\n", autocvar_sv_jumpspeedcap_min));
+       stuffcmd(e, sprintf("\ncl_jumpspeedcap_max \"%s\"\n", autocvar_sv_jumpspeedcap_max));
 
        MUTATOR_CALLHOOK(FixClientCvars, e);
 }