From 96aae565da71018d0273a2ba5ade60c95d30141b Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: remove the abusable levelshot command and related hacks --- src/game/g_cmds.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/game') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index db39491..eade857 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -542,22 +542,6 @@ void Cmd_Noclip_f( gentity_t *ent ) } -/* -================== -Cmd_LevelShot_f - -This is just to help generate the level pictures -for the menus. It goes to the intermission immediately -and sends over a command to the client to resize the view, -hide the scoreboard, and take a special screenshot -================== -*/ -void Cmd_LevelShot_f( gentity_t *ent ) -{ - BeginIntermission( ); - trap_SendServerCommand( ent - g_entities, "clientLevelShot" ); -} - /* ================= Cmd_Kill_f @@ -5354,7 +5338,6 @@ commands_t cmds[ ] = { { "god", CMD_CHEAT|CMD_TEAM|CMD_LIVING, Cmd_God_f }, { "notarget", CMD_CHEAT|CMD_TEAM|CMD_LIVING, Cmd_Notarget_f }, { "noclip", CMD_CHEAT|CMD_TEAM|CMD_LIVING, Cmd_Noclip_f }, - { "levelshot", CMD_CHEAT, Cmd_LevelShot_f }, { "setviewpos", CMD_CHEAT, Cmd_SetViewpos_f }, { "destroy", CMD_CHEAT|CMD_TEAM|CMD_LIVING, Cmd_Destroy_f }, -- cgit