From d1318515a8a9d2b8369e136fa91ff1a1f159a168 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 28 Feb 2004 16:35:39 +0000 Subject: * Added missing \n after server speech * Added auto select option to team menu * g_teamForceBalance now works * Added "reload" command * cg_lagometer now works --- src/cgame/cg_consolecmds.c | 4 +--- src/cgame/cg_draw.c | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_consolecmds.c b/src/cgame/cg_consolecmds.c index 80cd1293..468cdeac 100644 --- a/src/cgame/cg_consolecmds.c +++ b/src/cgame/cg_consolecmds.c @@ -279,9 +279,7 @@ void CG_InitConsoleCommands( void ) trap_AddCommand( "build" ); trap_AddCommand( "buy" ); trap_AddCommand( "sell" ); - trap_AddCommand( "deposit" ); - trap_AddCommand( "withdraw" ); - trap_AddCommand( "spawnbody" ); + trap_AddCommand( "reload" ); trap_AddCommand( "itemact" ); trap_AddCommand( "itemdeact" ); trap_AddCommand( "itemtoggle" ); diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index e4c0402a..fa046dbb 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -1905,6 +1905,9 @@ static void CG_DrawLagometer( rectDef_t *rect, qhandle_t shader ) if( cg.snap->ps.pm_type == PM_INTERMISSION ) return; + if( !cg_lagometer.integer ) + return; + // // draw the graph // -- cgit