From: Rudolf Polzer Date: Sun, 5 Dec 2010 20:47:23 +0000 (+0100) Subject: remove the CTF win mode autocvar, not needed X-Git-Tag: xonotic-v0.1.0preview~72^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4942746ed9345dac5e0fbaa810d1189c747ea9e2;p=xonotic%2Fxonotic-data.pk3dir.git remove the CTF win mode autocvar, not needed --- diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index a9c3525f8..eb344da93 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -696,7 +696,6 @@ float autocvar_g_ctf_ignore_frags; float autocvar_g_ctf_shield_force; float autocvar_g_ctf_shield_max_ratio; float autocvar_g_ctf_shield_min_negscore; -float autocvar_g_ctf_win_mode; float autocvar_g_cts_finish_kill_delay; float autocvar_g_cts_selfdamage; float autocvar_g_deathglow; diff --git a/qcsrc/server/ctf.qc b/qcsrc/server/ctf.qc index 23cdae9fb..b31e14293 100644 --- a/qcsrc/server/ctf.qc +++ b/qcsrc/server/ctf.qc @@ -1008,6 +1008,11 @@ void ctf_init() captureshield_min_negscore = autocvar_g_ctf_shield_min_negscore; captureshield_max_ratio = autocvar_g_ctf_shield_max_ratio; captureshield_force = autocvar_g_ctf_shield_force; + + +//#NO AUTOCVARS START + g_ctf_win_mode = cvar("g_ctf_win_mode"); +//#NO AUTOCVARS END }; void ctf_setstatus2(entity flag, float shift) diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index d47115e8f..871d6ab66 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -239,7 +239,6 @@ void InitGameplayMode() game = GAME_CTF; gamemode_name = "Capture the Flag"; ActivateTeamplay(); - g_ctf_win_mode = autocvar_g_ctf_win_mode; g_ctf_ignore_frags = autocvar_g_ctf_ignore_frags; if(g_ctf_win_mode == 2) {