mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Rank 1 Master always enters Sealed Star
This commit is contained in:
parent
9c585e35de
commit
e2e022dd6a
2 changed files with 13 additions and 0 deletions
|
|
@ -3803,6 +3803,11 @@ void G_GetNextMap(void)
|
||||||
{
|
{
|
||||||
// On A rank pace? Then you get a chance for S rank!
|
// On A rank pace? Then you get a chance for S rank!
|
||||||
permitrank = (K_CalculateGPGrade(&grandprixinfo.rank) >= GRADE_A);
|
permitrank = (K_CalculateGPGrade(&grandprixinfo.rank) >= GRADE_A);
|
||||||
|
|
||||||
|
// If you're on Master, a win floats you to rank-restricted levels for free.
|
||||||
|
// (This is a different class of challenge!)
|
||||||
|
if (grandprixinfo.masterbots && grandprixinfo.rank.position <= 1)
|
||||||
|
permitrank = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (roundqueue.position < roundqueue.size
|
while (roundqueue.position < roundqueue.size
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,14 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32))
|
||||||
* (2 * TICRATE)
|
* (2 * TICRATE)
|
||||||
) / GRADE_A;
|
) / GRADE_A;
|
||||||
|
|
||||||
|
// G_NextMap will float you to rank-restricted stages on Master wins.
|
||||||
|
// Fudge the rank display.
|
||||||
|
if (grandprixinfo.masterbots && grandprixinfo.rank.position <= 1)
|
||||||
|
{
|
||||||
|
data.showrank = true;
|
||||||
|
data.linemeter = 2*TICRATE;
|
||||||
|
}
|
||||||
|
|
||||||
// A little extra time to take it all in
|
// A little extra time to take it all in
|
||||||
timer += TICRATE;
|
timer += TICRATE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue