From: Jānis Rūcis Date: Wed, 26 May 2010 14:30:36 +0000 (+0300) Subject: Set sv_doublejump global every frame X-Git-Tag: xonotic-v0.1.0preview~570^2^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3357e6223bd700ffc0cdff2a5a4a1451ab8c310e;p=xonotic%2Fxonotic-data.pk3dir.git Set sv_doublejump global every frame --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index c54235d2c..8ba161e4d 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -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"); diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 0212fce8a..f4cc87445 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -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