mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[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:
parent
652546a4fb
commit
376e838d1c
1 changed files with 1 additions and 15 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue