mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gametype == GT_TUTORIAL && M_GameTrulyStarted() && restoreMenu == NULL)
|
||||||
|
{
|
||||||
|
// Playground Hack
|
||||||
|
F_StartIntro();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Time to return to the menu.
|
// Time to return to the menu.
|
||||||
Command_ExitGame_f();
|
Command_ExitGame_f();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -561,7 +561,8 @@ void M_EndGame(INT32 choice)
|
||||||
if (!Playing())
|
if (!Playing())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (M_GameTrulyStarted() == false)
|
if (M_GameTrulyStarted() == false
|
||||||
|
|| (gametype == GT_TUTORIAL && restoreMenu == NULL)) // Playground Hack
|
||||||
{
|
{
|
||||||
// No returning to the title screen.
|
// No returning to the title screen.
|
||||||
M_QuitSRB2(-1);
|
M_QuitSRB2(-1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue