]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Why force this win mode in campaign CTF?
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 13 Sep 2010 17:23:25 +0000 (20:23 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 13 Sep 2010 17:23:25 +0000 (20:23 +0300)
data/qcsrc/server/teamplay.qc

index e1d7b50ffe8403a93d229ae7e8b39a63214fa41c..b2f8fbf0294eb1f25082cd822ee3144ba7ed5dc0 100644 (file)
@@ -236,10 +236,7 @@ void InitGameplayMode()
                game = GAME_CTF;\r
                gamemode_name = "Capture the Flag";\r
                ActivateTeamplay();\r
-               if(cvar("g_campaign"))\r
-                       g_ctf_win_mode = 2;\r
-               else\r
-                       g_ctf_win_mode = cvar("g_ctf_win_mode");\r
+               g_ctf_win_mode = cvar("g_ctf_win_mode");\r
                g_ctf_ignore_frags = cvar("g_ctf_ignore_frags");\r
                if(g_ctf_win_mode == 2)\r
                {\r