mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Only show hints if an unlocked tile is adjacent
This commit is contained in:
parent
2a35f7d197
commit
19ab3a8445
1 changed files with 8 additions and 1 deletions
|
|
@ -4882,7 +4882,14 @@ challengedesc:
|
||||||
M_DrawChallengePreview(x, y);
|
M_DrawChallengePreview(x, y);
|
||||||
|
|
||||||
// Conditions for unlock
|
// Conditions for unlock
|
||||||
if (challengesmenu.unlockcondition != NULL)
|
i = (challengesmenu.hilix * CHALLENGEGRIDHEIGHT) + challengesmenu.hiliy;
|
||||||
|
|
||||||
|
if (challengesmenu.unlockcondition != NULL
|
||||||
|
&& ((gamedata->unlocked[challengesmenu.currentunlock] == true)
|
||||||
|
|| ((challengesmenu.extradata != NULL)
|
||||||
|
&& (challengesmenu.extradata[i] & CHE_HINT))
|
||||||
|
)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
V_DrawCenteredString(BASEVIDWIDTH/2, 120 + 32, V_ALLOWLOWERCASE, challengesmenu.unlockcondition);
|
V_DrawCenteredString(BASEVIDWIDTH/2, 120 + 32, V_ALLOWLOWERCASE, challengesmenu.unlockcondition);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue