mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-15 10:06:24 +00:00
Go to podium when game over on special stage
This commit is contained in:
parent
9501b57296
commit
04eefa1acc
1 changed files with 15 additions and 5 deletions
20
src/g_game.c
20
src/g_game.c
|
|
@ -3087,13 +3087,20 @@ void G_ExitLevel(void)
|
|||
if (i == MAXPLAYERS)
|
||||
{
|
||||
// GAME OVER, try again from the start!
|
||||
|
||||
if (netgame)
|
||||
if (grandprixinfo.gp == true
|
||||
&& grandprixinfo.eventmode == GPEVENT_SPECIAL)
|
||||
{
|
||||
; // restart cup here if we do online GP
|
||||
// We were in a Special Stage.
|
||||
// We can still progress to the podium when we game over here.
|
||||
doretry = false;
|
||||
}
|
||||
else if (netgame)
|
||||
{
|
||||
; // Restart cup here whenever we do Online GP
|
||||
}
|
||||
else
|
||||
{
|
||||
// Back to the menu with you.
|
||||
D_QuitNetGame();
|
||||
CL_Reset();
|
||||
D_ClearState();
|
||||
|
|
@ -3102,11 +3109,14 @@ void G_ExitLevel(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Go redo this course.
|
||||
// We have lives, just redo this one course.
|
||||
G_SetRetryFlag();
|
||||
}
|
||||
|
||||
return;
|
||||
if (doretry == true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
gameaction = ga_completed;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue