removal of useless "grab" and "ungrab" commands

This commit is contained in:
Dan Olson 2000-05-01 23:49:51 +00:00
parent cf00f21f99
commit 17aa6a3a0d

View file

@ -478,24 +478,6 @@ void Cmd_UnAlias_f (void)
Con_Printf ("Unknown alias \"%s\"\n", s);
}
/*
===============
Cmd_Grab_f
Grabs mouse so we don't have to mess with cvars. Kinda requires -nodga for the
moment.
===============
*/
void Cmd_Grab_f (void)
{
Cbuf_AddText("set in_grab 1");
}
void Cmd_UnGrab_f (void)
{
Cbuf_AddText("set in_grab 0");
}
/*
=============================================================================
@ -878,8 +860,6 @@ void Cmd_Init (void)
Cmd_AddCommand ("echo",Cmd_Echo_f);
Cmd_AddCommand ("alias",Cmd_Alias_f);
Cmd_AddCommand ("unalias",Cmd_UnAlias_f);
Cmd_AddCommand ("grab",Cmd_Grab_f);
Cmd_AddCommand ("ungrab",Cmd_UnGrab_f);
Cmd_AddCommand ("wait", Cmd_Wait_f);
Cmd_AddCommand ("cmdlist", Cmd_CmdList_f);
#ifndef SERVERONLY