mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 04:02:37 +00:00
Merge branch 'master-mode-all-access' into 'master'
Rank 1 Master always enters Sealed Star See merge request KartKrew/Kart!1582
This commit is contained in:
commit
a221cb467e
2 changed files with 13 additions and 0 deletions
|
|
@ -3802,6 +3802,11 @@ void G_GetNextMap(void)
|
|||
{
|
||||
// On A rank pace? Then you get a chance for S rank!
|
||||
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
|
||||
|
|
|
|||
|
|
@ -306,6 +306,14 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32))
|
|||
* (2 * TICRATE)
|
||||
) / 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
|
||||
timer += TICRATE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue