]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
when sv_gentle is set, force cl_gentle on the clients
authorRudolf Polzer <divverent@alientrap.org>
Wed, 29 Sep 2010 18:35:24 +0000 (20:35 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 29 Sep 2010 18:35:24 +0000 (20:35 +0200)
qcsrc/server/cl_client.qc

index ac33ddc50b1fb42a0a09cbd30453fdbe55df43f2..36606dec70f687a841506e553ffbba6da539816b 100644 (file)
@@ -1354,8 +1354,9 @@ void FixClientCvars(entity e)
        if(g_race || g_cts)
                stuffcmd(e, "cl_cmd settemp cl_movecliptokeyboard 2\n");
        if(cvar("g_antilag") == 3) // client side hitscan
-               //stuffcmd(e, "cl_cmd settemp cl_prydoncursor -1\ncl_cmd settemp cl_prydoncursor_notrace 0\n");
                stuffcmd(e, "cl_cmd settemp cl_prydoncursor_notrace 0\n");
+       if(sv_gentle)
+               stuffcmd(e, "cl_cmd settemp cl_gentle 1\n");
        /*
         * we no longer need to stuff this. Remove this comment block if you feel
         * 2.3 and higher (or was it 2.2.3?) don't need these any more