mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix tracking map completion for Tutorial stages
The author of this commit is hesitant to allow mapwarp to bypass completion requirements under regular circumstances, but happy enough to make the exception for specifically GT_TUTORIAL.
This commit is contained in:
parent
dce2c73df1
commit
993dea580c
1 changed files with 8 additions and 2 deletions
10
src/g_game.c
10
src/g_game.c
|
|
@ -3615,7 +3615,7 @@ void G_UpdateVisited(void)
|
|||
if (!P_IsLocalPlayer(&players[i])) // Not local.
|
||||
continue;
|
||||
|
||||
if (players[i].spectator) // Not playing.
|
||||
if (players[i].spectator == true) // Not playing.
|
||||
continue;
|
||||
|
||||
if (players[i].pflags & PF_NOCONTEST) // Sonic after not surviving.
|
||||
|
|
@ -4167,7 +4167,13 @@ static void G_DoCompleted(void)
|
|||
// Finally, if you're not exiting, guarantee NO CONTEST.
|
||||
// We do this seperately from the loop above Challenges,
|
||||
// so NOCONTEST-related Challenges don't fire on exitlevel.
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (gametype == GT_TUTORIAL)
|
||||
{
|
||||
// Maybe one day there'll be another context in which
|
||||
// there's no way to progress other than ACS, but for
|
||||
// now, Tutorial is a hardcoded exception.
|
||||
}
|
||||
else for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i] == false)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue