mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add a preview for Special Attack unlock type
This commit is contained in:
parent
05241341b8
commit
36d6fcaba4
1 changed files with 10 additions and 0 deletions
|
|
@ -4738,6 +4738,16 @@ static void M_DrawChallengePreview(INT32 x, INT32 y)
|
|||
specialmap = btcmapcache;
|
||||
break;
|
||||
}
|
||||
case SECRET_SPECIALATTACK:
|
||||
{
|
||||
static UINT16 sscmapcache = NEXTMAP_INVALID;
|
||||
if (sscmapcache > nummapheaders)
|
||||
{
|
||||
sscmapcache = G_RandMap(G_TOLFlag(GT_SPECIAL), -1, 2, 0, false, NULL);
|
||||
}
|
||||
specialmap = sscmapcache;
|
||||
break;
|
||||
}
|
||||
case SECRET_HARDSPEED:
|
||||
{
|
||||
static UINT16 hardmapcache = NEXTMAP_INVALID;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue