[console] Remove togglechat implementation

It has always been just a clone of toggleconsole, so the command has
been linked to toggleconsole's implementation instead.
This commit is contained in:
Bill Currie 2021-11-28 21:17:06 +09:00
parent 652546a4fb
commit 376e838d1c

View file

@ -150,20 +150,6 @@ ToggleConsole_f (void)
ClearNotify ();
}
static void
ToggleChat_f (void)
{
Con_ClearTyping (input_line, 0);
//if (con_curr_keydest == key_console && !con_data.force_commandline) {
//Key_SetKeyDest (key_game);
//} else {
//Key_SetKeyDest (key_console);
//}
ClearNotify ();
}
static void
Clear_f (void)
{
@ -988,7 +974,7 @@ C_Init (void)
// register our commands
Cmd_AddCommand ("toggleconsole", ToggleConsole_f,
"Toggle the console up and down");
Cmd_AddCommand ("togglechat", ToggleChat_f,
Cmd_AddCommand ("togglechat", ToggleConsole_f,
"Toggle the console up and down");
Cmd_AddCommand ("messagemode", MessageMode_f,
"Prompt to send a message to everyone");