mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Review: Don't award map visitation when the tutorial challenge is queued up, either
This commit is contained in:
parent
1ef427631e
commit
55c6602473
2 changed files with 6 additions and 1 deletions
|
|
@ -3626,6 +3626,10 @@ void G_UpdateVisited(void)
|
||||||
if (prevmap != gamemap-1)
|
if (prevmap != gamemap-1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Neither for tutorial skip material
|
||||||
|
if (nextmapoverride == NEXTMAP_TUTORIALCHALLENGE+1 || tutorialchallenge != TUTORIALSKIP_NONE)
|
||||||
|
return;
|
||||||
|
|
||||||
// Check if every local player wiped out.
|
// Check if every local player wiped out.
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1906,7 +1906,8 @@ void Y_DetermineIntermissionType(void)
|
||||||
|| (modeattacking && (players[consoleplayer].pflags & PF_NOCONTEST))
|
|| (modeattacking && (players[consoleplayer].pflags & PF_NOCONTEST))
|
||||||
// or for explicit requested skip (outside of modeattacking)
|
// or for explicit requested skip (outside of modeattacking)
|
||||||
|| (modeattacking == ATTACKING_NONE && skipstats != 0)
|
|| (modeattacking == ATTACKING_NONE && skipstats != 0)
|
||||||
|| (tutorialchallenge != TUTORIALSKIP_NONE))
|
// or tutorial skip material
|
||||||
|
|| (nextmapoverride == NEXTMAP_TUTORIALCHALLENGE || tutorialchallenge != TUTORIALSKIP_NONE))
|
||||||
{
|
{
|
||||||
intertype = int_none;
|
intertype = int_none;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue