Merge branch 'titlemap-fix' into 'master'

Fix Titlemap with mazmazz's fancy menu stuff

See merge request STJr/SRB2Internal!228
This commit is contained in:
Monster Iestyn 2019-06-28 18:15:46 -04:00
commit e2859aab5d
2 changed files with 3 additions and 2 deletions

View file

@ -1421,7 +1421,7 @@ void F_InitMenuPresValues(void)
curbgcolor = -1;
curbgxspeed = titlescrollxspeed;
curbgyspeed = titlescrollyspeed;
curbghide = false;
curbghide = true;
// Find current presentation values
M_SetMenuCurBackground((gamestate == GS_TIMEATTACK) ? "SRB2BACK" : "TITLESKY");

View file

@ -2200,6 +2200,7 @@ void M_InitMenuPresTables(void)
menupres[i].bgcolor = -1;
menupres[i].titlescrollxspeed = INT32_MAX;
menupres[i].titlescrollyspeed = INT32_MAX;
menupres[i].bghide = true;
// default true
menupres[i].enterbubble = true;
menupres[i].exitbubble = true;
@ -2468,7 +2469,7 @@ static void M_HandleMenuPresState(menu_t *newMenu)
curbgcolor = -1;
curbgxspeed = titlescrollxspeed;
curbgyspeed = titlescrollyspeed;
curbghide = false;
curbghide = true;
// don't do the below during the in-game menus
if (gamestate != GS_TITLESCREEN && gamestate != GS_TIMEATTACK)