summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:17 +0200
commit96aae565da71018d0273a2ba5ade60c95d30141b (patch)
treee277e9cc85f411223897939fd5cc6c01bee04775 /src/game/g_cmds.c
parent0b88388204f4a1854ac7ae8486bb403023125827 (diff)
remove the abusable levelshot command and related hacks
Diffstat (limited to 'src/game/g_cmds.c')
-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 db39491..eade857 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -543,22 +543,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 },