From eb401f8e27491f048ca0095a3e2f984e2e3a151b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 10 Sep 2002 15:51:30 +0000 Subject: * Cleanup of cg_local.h and side-effects --- src/cgame/cg_main.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/cgame/cg_main.c') diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index cf99e93e..e19f67d8 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -400,18 +400,6 @@ void CG_UpdateCvars( void ) // check for modications here - // If team overlay is on, ask for updates from the server. If its off, - // let the server know so we don't receive it - if( drawTeamOverlayModificationCount != cg_drawTeamOverlay.modificationCount ) - { - drawTeamOverlayModificationCount = cg_drawTeamOverlay.modificationCount; - - if( cg_drawTeamOverlay.integer > 0 ) - trap_Cvar_Set( "teamoverlay", "1" ); - else - trap_Cvar_Set( "teamoverlay", "0" ); - } - // if force model changed if( forceModelModificationCount != cg_forceModel.modificationCount ) { @@ -1654,8 +1642,6 @@ void CG_Init( int serverMessageNum, int serverCommandSequence, int clientNum ) cg.weaponSelect = WP_NONE; - cgs.redflag = cgs.blueflag = -1; // For compatibily, default to unset for - cgs.flagStatus = -1; // old servers // get the rendering configuration from the client system -- cgit