Merge branch 'master' into state_cleaning_tier_2

This commit is contained in:
Sezz 2022-02-13 20:23:09 +11:00
commit cdb8eb5927
4 changed files with 15 additions and 14 deletions

View file

@ -695,7 +695,8 @@ InventoryResult GuiController::TitleOptions()
else if (menu_to_display == Menu::SelectLevel)
{
SoundEffect(SFX_TR4_MENU_SELECT, 0, SFX_ALWAYS);
g_GameFlow->SelectedLevelForNewGame = selected_option;
// Level 0 is the title level, so increment the option by 1 to offset it.
g_GameFlow->SelectedLevelForNewGame = selected_option + 1;
menu_to_display = Menu::Title;
selected_option = 0;
ret = InventoryResult::NewGameSelectedLevel;