- Backend update from Raze.

This commit is contained in:
Christoph Oelckers 2021-03-04 14:45:29 +01:00
commit 357163c60d
13 changed files with 137 additions and 24 deletions

View file

@ -70,6 +70,8 @@
#define RIGHTMARGIN 8
#define BOTTOMARGIN 12
extern bool AppActive;
CUSTOM_CVAR(Int, con_buffersize, -1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
{
// ensure a minimum size
@ -1039,7 +1041,7 @@ static bool C_HandleKey (event_t *ev, FCommandBuffer &buffer)
// Close console and clear command line. But if we're in the
// fullscreen console mode, there's nothing to fall back on
// if it's closed, so open the main menu instead.
if (gamestate == GS_STARTUP)
if (gamestate == GS_STARTUP || !AppActive)
{
return false;
}