Two minor hacks for Playground that I can't be bothered to do properly, to match desired spec

- Play intro when exiting goner Playground
- Do not allow using menu to skip driving down that hill in goner Playground
The reason these two are hacks is because a map is considered goner Playground if you use -warp at command line or map in console on title screen to get to a Tutorial course... but these are unimportant edge cases IMO
This commit is contained in:
toaster 2025-07-23 19:32:07 +01:00
parent 757c40844b
commit 6ce6c0d6cf
2 changed files with 9 additions and 1 deletions

View file

@ -5130,6 +5130,13 @@ void G_EndGame(void)
return;
}
if (gametype == GT_TUTORIAL && M_GameTrulyStarted() && restoreMenu == NULL)
{
// Playground Hack
F_StartIntro();
return;
}
// Time to return to the menu.
Command_ExitGame_f();
}

View file

@ -561,7 +561,8 @@ void M_EndGame(INT32 choice)
if (!Playing())
return;
if (M_GameTrulyStarted() == false)
if (M_GameTrulyStarted() == false
|| (gametype == GT_TUTORIAL && restoreMenu == NULL)) // Playground Hack
{
// No returning to the title screen.
M_QuitSRB2(-1);