mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Statistics Map screen: If Sealed Stars have been visited but you haven't unlocked Special Mode, show them under Lost & Found instead of revealing the true cup order early
This commit is contained in:
parent
69241774f8
commit
026831d9c8
1 changed files with 14 additions and 1 deletions
|
|
@ -26,8 +26,21 @@ static boolean M_StatisticsAddMap(UINT16 map, cupheader_t *cup, boolean *headere
|
||||||
if (!mapheaderinfo[map])
|
if (!mapheaderinfo[map])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (mapheaderinfo[map]->typeoflevel & TOL_SPECIAL)
|
||||||
|
{
|
||||||
|
if (gamedata->sealedswaps[GDMAX_SEALEDSWAPS-1] != NULL // all found
|
||||||
|
|| (mapheaderinfo[map]->cup
|
||||||
|
&& mapheaderinfo[map]->cup->id >= basenumkartcupheaders) // custom content
|
||||||
|
|| M_SecretUnlocked(SECRET_SPECIALATTACK, true)) // true order
|
||||||
|
{
|
||||||
if (mapheaderinfo[map]->cup != cup)
|
if (mapheaderinfo[map]->cup != cup)
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
else if (cup) // Appear under Lost & Found until you've ordered them.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else if (mapheaderinfo[map]->cup != cup)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (((mapheaderinfo[map]->typeoflevel & TOL_TUTORIAL) == TOL_TUTORIAL) != tutorial)
|
if (((mapheaderinfo[map]->typeoflevel & TOL_TUTORIAL) == TOL_TUTORIAL) != tutorial)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue