mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
757c40844b
commit
6ce6c0d6cf
2 changed files with 9 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue