diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_consolecmds.c | 1 | ||||
-rw-r--r-- | src/cgame/cg_draw.c | 4 | ||||
-rw-r--r-- | src/cgame/cg_local.h | 1 | ||||
-rw-r--r-- | src/cgame/cg_servercmds.c | 11 |
4 files changed, 0 insertions, 17 deletions
diff --git a/src/cgame/cg_consolecmds.c b/src/cgame/cg_consolecmds.c index adae40a8..7876bc32 100644 --- a/src/cgame/cg_consolecmds.c +++ b/src/cgame/cg_consolecmds.c @@ -259,7 +259,6 @@ void CG_InitConsoleCommands( void ) trap_AddCommand( "noclip" ); trap_AddCommand( "team" ); trap_AddCommand( "follow" ); - trap_AddCommand( "levelshot" ); trap_AddCommand( "setviewpos" ); trap_AddCommand( "callvote" ); trap_AddCommand( "vote" ); diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index ee604e76..f59c11aa 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -3407,10 +3407,6 @@ static void CG_Draw2D( void ) { menuDef_t *menu = NULL; - // if we are taking a levelshot for the menu, don't draw anything - if( cg.levelShot ) - return; - // fading to black if stamina runs out // (only 2D that can't be disabled) CG_DrawLighting( ); diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index cf1da82d..53841e45 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -920,7 +920,6 @@ typedef struct int clientNum; qboolean demoPlayback; - qboolean levelShot; // taking a level menu screenshot int deferredPlayerLoading; qboolean loading; // don't defer players at initial startup qboolean intermissionStarted; // don't play voice rewards, because game will end shortly diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index ae4a2619..ab071d42 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -1178,16 +1178,6 @@ static void CG_Chat_f( void ) /* ================= -CG_ClientLevelShot_f -================= -*/ -static void CG_ClientLevelShot_f( void ) -{ - cg.levelShot = qtrue; -} - -/* -================= CG_ServerMenu_f ================= */ @@ -1270,7 +1260,6 @@ void CG_UnregisterCommands( void ) static consoleCommand_t svcommands[ ] = { { "chat", CG_Chat_f }, - { "clientLevelShot", CG_ClientLevelShot_f }, { "cmds", CG_GameCmds_f }, { "cp", CG_CenterPrint_f }, { "cs", CG_ConfigStringModified }, |