mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Also prevent Fury Bike chao key blastin (resolves #1275)
Fury Bike ID handled by #define now
This commit is contained in:
parent
76becc7579
commit
9d5860d38d
4 changed files with 9 additions and 3 deletions
|
|
@ -1300,7 +1300,7 @@ void M_SetNetUnlocked(void)
|
|||
{
|
||||
for (i = 0; i < MAXUNLOCKABLES; i++)
|
||||
{
|
||||
if (unlockables[i].conditionset == 55)
|
||||
if (unlockables[i].conditionset == CH_FURYBIKE)
|
||||
continue;
|
||||
|
||||
netUnlocked[i] = true;
|
||||
|
|
@ -3094,7 +3094,7 @@ char *M_BuildConditionSetString(UINT16 unlockid)
|
|||
}
|
||||
}
|
||||
|
||||
if (usedTourney && unlockables[unlockid].conditionset == 55 && gamedata->unlocked[unlockid] == false)
|
||||
if (usedTourney && unlockables[unlockid].conditionset == CH_FURYBIKE && gamedata->unlocked[unlockid] == false)
|
||||
{
|
||||
strcpy(message, "Power shrouds this challenge in darkness... (Return here without Tournament Mode!)\0");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -281,6 +281,8 @@ typedef enum
|
|||
#endif
|
||||
#define challengegridloops (gamedata->challengegridwidth >= CHALLENGEGRIDLOOPWIDTH)
|
||||
|
||||
#define CH_FURYBIKE 55
|
||||
|
||||
// See also M_PlayMenuJam
|
||||
typedef enum {
|
||||
GDMUSIC_NONE = 0,
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ void f_tournament()
|
|||
{
|
||||
if (!unlockables[i].conditionset)
|
||||
continue;
|
||||
if (unlockables[i].conditionset == 55)
|
||||
if (unlockables[i].conditionset == CH_FURYBIKE)
|
||||
continue;
|
||||
if (gamedata->unlocked[i])
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -468,6 +468,10 @@ boolean M_CanKeyHiliTile(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
// Fury Bike
|
||||
if (unlockables[challengesmenu.currentunlock].conditionset == CH_FURYBIKE)
|
||||
return false;
|
||||
|
||||
// All good!
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue