mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- when closing the main menu, go directly to the full console.
Fixes #27
This commit is contained in:
parent
c777fea1af
commit
7417160abd
2 changed files with 2 additions and 6 deletions
|
@ -964,14 +964,10 @@ void M_ClearMenus (bool final)
|
|||
if (!final)
|
||||
{
|
||||
gi->MenuClosed();
|
||||
if (gamestate == GS_MENUSCREEN) C_FullConsole();
|
||||
}
|
||||
}
|
||||
|
||||
void Menu_Close(int playerid)
|
||||
{
|
||||
M_ClearMenus();
|
||||
}
|
||||
|
||||
bool M_Active()
|
||||
{
|
||||
return CurrentMenu != nullptr || ConsoleState == c_down || ConsoleState == c_falling;
|
||||
|
|
|
@ -45,7 +45,7 @@ BEGIN_DUKE_NS
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
inline int playercolor2lookup(int color)
|
||||
int playercolor2lookup(int color)
|
||||
{
|
||||
static int8_t player_pals[] = { 0, 9, 10, 11, 12, 13, 14, 15, 16, 21, 23, };
|
||||
if (color >= 0 && color < 10) return player_pals[color];
|
||||
|
|
Loading…
Reference in a new issue