mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
make it possible to get to the console via the menu for when ` doesn't work
This commit is contained in:
parent
141df55965
commit
d34c7259dd
1 changed files with 8 additions and 0 deletions
|
@ -770,6 +770,13 @@ MENU_network_options =
|
|||
Menu_End ();
|
||||
};
|
||||
|
||||
integer (string text, integer key)
|
||||
op_goto_console =
|
||||
{
|
||||
Cbuf_AddText ("toggleconsole\n");
|
||||
return 0;
|
||||
};
|
||||
|
||||
/*************************
|
||||
* MAIN OPTIONS
|
||||
* Main options menu code
|
||||
|
@ -790,6 +797,7 @@ MENU_options =
|
|||
Menu_Pic (16, 4, "gfx/qplaque.lmp");
|
||||
Menu_CenterPic (160, 4, "gfx/p_option.lmp");
|
||||
|
||||
Menu_Item (54, 32, "Goto Console", op_goto_console, 0);
|
||||
MENU_control_options ();
|
||||
MENU_video_options ();
|
||||
MENU_audio_options ();
|
||||
|
|
Loading…
Reference in a new issue