mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
M_DrawMapMedals: Only shows ET_MAP medals with ME_ENCORE and/or ME_SPBATTACK if you've unlocked those two things
This commit is contained in:
parent
22e17fd881
commit
967ad3662d
1 changed files with 11 additions and 0 deletions
|
|
@ -5630,6 +5630,17 @@ static void M_DrawMapMedals(INT32 mapnum, INT32 x, INT32 y)
|
|||
curtype = 2;
|
||||
break;
|
||||
}
|
||||
case ET_MAP:
|
||||
{
|
||||
if (((emblem->flags & ME_ENCORE) && !M_SecretUnlocked(SECRET_ENCORE, true))
|
||||
|| ((emblem->flags & ME_SPBATTACK) && !M_SecretUnlocked(SECRET_SPBATTACK, true)))
|
||||
{
|
||||
emblem = M_GetLevelEmblems(-1);
|
||||
continue;
|
||||
}
|
||||
curtype = 0;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
curtype = 0;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue