Two menu bugbears

- Clear console prints immediately after menu clear (fixes the prints on the black screen before loading level from menu)
- Last kart standing, not last hedgehog standing 🥹
This commit is contained in:
toaster 2022-12-27 22:36:20 +00:00
parent 04f2ac4121
commit 978040ca3f
2 changed files with 3 additions and 1 deletions

View file

@ -89,7 +89,7 @@ menuitem_t PLAY_GamemodesMenu[] =
{IT_STRING | IT_CALL, "Race", "A contest to see who's the fastest of them all!",
NULL, {.routine = M_SetupRaceMenu}, 0, 0},
{IT_STRING | IT_CALL, "Battle", "It's last hedgehog standing in this free-for-all!",
{IT_STRING | IT_CALL, "Battle", "It's last kart standing in this free-for-all!",
"MENIMG00", {.routine = M_LevelSelectInit}, 0, GT_BATTLE},
{IT_STRING | IT_CALL, "Capsules", "Bust up all of the capsules in record time!",

View file

@ -1009,6 +1009,8 @@ void M_ClearMenus(boolean callexitmenufunc)
if (!menuactive)
return;
CON_ClearHUD();
if (currentMenu->quitroutine && callexitmenufunc && !currentMenu->quitroutine())
return; // we can't quit this menu (also used to set parameter from the menu)