]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set sv_doublejump global every frame
authorJānis Rūcis <parasti@gmail.com>
Wed, 26 May 2010 14:30:36 +0000 (17:30 +0300)
committerJānis Rūcis <parasti@gmail.com>
Wed, 26 May 2010 14:30:36 +0000 (17:30 +0300)
qcsrc/server/miscfunctions.qc
qcsrc/server/sv_main.qc

index c54235d2cbdbc1a8ffe493209a72a4681cda8f5c..8ba161e4dd19eab30bd19d3a3381d45f5f6fd9ec 100644 (file)
@@ -1227,7 +1227,6 @@ void readlevelcvars(void)
        sv_maxidle = cvar("sv_maxidle");
        sv_maxidle_spectatorsareidle = cvar("sv_maxidle_spectatorsareidle");
        sv_pogostick = cvar("sv_pogostick");
-       sv_doublejump = cvar("sv_doublejump");
        g_ctf_reverse = cvar("g_ctf_reverse");
        sv_autotaunt = cvar("sv_autotaunt");
        sv_taunt = cvar("sv_taunt");
index 0212fce8a43fa7fe3e78951aa77e273f57e01468..f4cc8744518593fcb456907ece1c026174ab059e 100644 (file)
@@ -200,6 +200,7 @@ void StartFrame (void)
        sv_warsowbunny_backtosideratio = cvar("sv_warsowbunny_backtosideratio");
        teamplay = cvar ("teamplay");
        sys_frametime = cvar("sys_ticrate") * cvar("slowmo");
+       sv_doublejump = cvar("sv_doublejump");
 
        if (timeoutStatus == 1) // just before the timeout (when timeoutStatus will be 2)
                orig_slowmo = cvar("slowmo"); // slowmo will be restored after the timeout