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++)
|
for (i = 0; i < MAXUNLOCKABLES; i++)
|
||||||
{
|
{
|
||||||
if (unlockables[i].conditionset == 55)
|
if (unlockables[i].conditionset == CH_FURYBIKE)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
netUnlocked[i] = true;
|
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");
|
strcpy(message, "Power shrouds this challenge in darkness... (Return here without Tournament Mode!)\0");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -281,6 +281,8 @@ typedef enum
|
||||||
#endif
|
#endif
|
||||||
#define challengegridloops (gamedata->challengegridwidth >= CHALLENGEGRIDLOOPWIDTH)
|
#define challengegridloops (gamedata->challengegridwidth >= CHALLENGEGRIDLOOPWIDTH)
|
||||||
|
|
||||||
|
#define CH_FURYBIKE 55
|
||||||
|
|
||||||
// See also M_PlayMenuJam
|
// See also M_PlayMenuJam
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GDMUSIC_NONE = 0,
|
GDMUSIC_NONE = 0,
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ void f_tournament()
|
||||||
{
|
{
|
||||||
if (!unlockables[i].conditionset)
|
if (!unlockables[i].conditionset)
|
||||||
continue;
|
continue;
|
||||||
if (unlockables[i].conditionset == 55)
|
if (unlockables[i].conditionset == CH_FURYBIKE)
|
||||||
continue;
|
continue;
|
||||||
if (gamedata->unlocked[i])
|
if (gamedata->unlocked[i])
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
|
|
@ -468,6 +468,10 @@ boolean M_CanKeyHiliTile(void)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fury Bike
|
||||||
|
if (unlockables[challengesmenu.currentunlock].conditionset == CH_FURYBIKE)
|
||||||
|
return false;
|
||||||
|
|
||||||
// All good!
|
// All good!
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue