mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix "LOST & FOUND" header for only one L&F map available being a de-cupped Sealed Star
This commit is contained in:
parent
72d9728c93
commit
cf65205ec4
1 changed files with 6 additions and 1 deletions
|
|
@ -8765,6 +8765,7 @@ static void M_DrawStatsMaps(void)
|
||||||
|
|
||||||
i = -1;
|
i = -1;
|
||||||
|
|
||||||
|
const boolean allowsealed = M_SecretUnlocked(SECRET_SPECIALATTACK, true);
|
||||||
const boolean allowencore = M_SecretUnlocked(SECRET_ENCORE, true);
|
const boolean allowencore = M_SecretUnlocked(SECRET_ENCORE, true);
|
||||||
const boolean allowspb = M_SecretUnlocked(SECRET_SPBATTACK, true);
|
const boolean allowspb = M_SecretUnlocked(SECRET_SPBATTACK, true);
|
||||||
boolean allowtime = false;
|
boolean allowtime = false;
|
||||||
|
|
@ -8792,7 +8793,11 @@ static void M_DrawStatsMaps(void)
|
||||||
|
|
||||||
if (mapheaderinfo[mnum]->typeoflevel & TOL_TUTORIAL)
|
if (mapheaderinfo[mnum]->typeoflevel & TOL_TUTORIAL)
|
||||||
str = "TUTORIAL MODE";
|
str = "TUTORIAL MODE";
|
||||||
else if (mapheaderinfo[mnum]->cup)
|
else if (mapheaderinfo[mnum]->cup
|
||||||
|
&& (!(mapheaderinfo[mnum]->typeoflevel & TOL_SPECIAL) // not special
|
||||||
|
|| gamedata->sealedswaps[GDMAX_SEALEDSWAPS-1] != NULL // all found
|
||||||
|
|| mapheaderinfo[mnum]->cup->id >= basenumkartcupheaders // custom content
|
||||||
|
|| allowsealed)) // true order
|
||||||
str = va("%s CUP", mapheaderinfo[mnum]->cup->realname);
|
str = va("%s CUP", mapheaderinfo[mnum]->cup->realname);
|
||||||
else
|
else
|
||||||
str = "LOST & FOUND";
|
str = "LOST & FOUND";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue