mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
ToggleConsole now sets the game_target as it should.
This commit is contained in:
parent
36395e1681
commit
81172de25c
1 changed files with 6 additions and 2 deletions
|
@ -88,10 +88,14 @@ Con_ToggleConsole_f (void)
|
|||
Key_ClearTyping ();
|
||||
|
||||
if (key_dest == key_console) {
|
||||
if (cls.state == ca_active)
|
||||
if (cls.state == ca_active) {
|
||||
key_dest = key_game;
|
||||
} else
|
||||
game_target = IMT_DEFAULT;
|
||||
}
|
||||
} else {
|
||||
key_dest = key_console;
|
||||
game_target = IMT_CONSOLE;
|
||||
}
|
||||
|
||||
Con_ClearNotify ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue