summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-12 23:48:06 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:07 +0100
commit5e0f74ed9df36ba5d58aeb13cce527047e572b90 (patch)
treec1c51b2a20063b0fadef62a952804873c06bb2a8 /src/game
parentef59d5034a993363c2750dcdceed35175d436621 (diff)
remove the abusable levelshot command and related hacks
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index cf203560..6c903ce4 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -547,22 +547,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
=================
@@ -3101,7 +3085,6 @@ commands_t cmds[ ] = {
{ "itemdeact", CMD_HUMAN|CMD_LIVING, Cmd_DeActivateItem_f },
{ "itemtoggle", CMD_HUMAN|CMD_LIVING, Cmd_ToggleItem_f },
{ "kill", CMD_TEAM|CMD_LIVING, Cmd_Kill_f },
- { "levelshot", CMD_CHEAT, Cmd_LevelShot_f },
{ "listmaps", CMD_MESSAGE|CMD_INTERMISSION, Cmd_ListMaps_f },
{ "m", CMD_MESSAGE|CMD_INTERMISSION, Cmd_PrivateMessage_f },
{ "mt", CMD_MESSAGE|CMD_INTERMISSION, Cmd_PrivateMessage_f },