mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-27 00:46:19 +00:00
M_DrawChallengeTile: Don't draw the ? stuff if not yet unlocked
This commit is contained in:
parent
e65bb87ec5
commit
8dc4971c2a
1 changed files with 2 additions and 4 deletions
|
|
@ -4538,6 +4538,8 @@ static void M_DrawChallengeTile(INT16 i, INT16 j, INT32 x, INT32 y, boolean hili
|
|||
unlockedyet = !((gamedata->unlocked[num] == false)
|
||||
|| (challengesmenu.pending && num == challengesmenu.currentunlock && challengesmenu.unlockanim <= UNLOCKTIME));
|
||||
|
||||
// If we aren't unlocked yet, return early.
|
||||
if (!unlockedyet)
|
||||
{
|
||||
UINT32 flags = 0;
|
||||
|
||||
|
|
@ -4563,11 +4565,7 @@ static void M_DrawChallengeTile(INT16 i, INT16 j, INT32 x, INT32 y, boolean hili
|
|||
|
||||
pat = missingpat;
|
||||
colormap = NULL;
|
||||
}
|
||||
|
||||
// If we aren't unlocked yet, return early.
|
||||
if (!unlockedyet)
|
||||
{
|
||||
goto drawborder;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue