From b6efec8643b14f9cb8cd9663add50a410b7213a7 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Tue, 10 Jul 2018 12:43:16 +0500 Subject: [PATCH] Change default mp_teamplay cvar value for threewave. --- dlls/game.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/game.cpp b/dlls/game.cpp index 8a1e30d5..97a93a49 100644 --- a/dlls/game.cpp +++ b/dlls/game.cpp @@ -20,6 +20,9 @@ //++ BulliT #include "agglobal.h" //-- Martin Webrant + +extern bool g_bIsThreeWave; + // QUAKECLASSIC cvar_t rj = { "rj", "0" }; @@ -463,6 +466,9 @@ void GameDLLInit( void ) g_psv_aim = CVAR_GET_POINTER( "sv_aim" ); g_footsteps = CVAR_GET_POINTER( "mp_footsteps" ); + if( g_bIsThreeWave ) + teamplay.string = "3"; + // QUAKECLASSIC CVAR_REGISTER( &rj );