SS requirement is now getting A rank

This commit is contained in:
Sally Coolatta 2023-03-04 16:35:50 -05:00
parent d5d0647ae6
commit cf20e2e831

View file

@ -3887,20 +3887,9 @@ static void G_GetNextMap(void)
// Special stage // Special stage
else if (grandprixinfo.roundnum >= grandprixinfo.cup->numlevels) else if (grandprixinfo.roundnum >= grandprixinfo.cup->numlevels)
{ {
INT16 totaltotalring = 0; gp_rank_e grade = K_CalculateGPGrade(&g_gpRank);
for (i = 0; i < MAXPLAYERS; i++) if (grade >= GRADE_A) // On A rank pace? Then you get a chance for S rank!
{
if (!playeringame[i])
continue;
if (players[i].spectator)
continue;
if (players[i].bot)
continue;
totaltotalring += players[i].totalring;
}
if (totaltotalring >= 50)
{ {
const INT32 cupLevelNum = grandprixinfo.cup->cachedlevels[CUPCACHE_SPECIAL]; const INT32 cupLevelNum = grandprixinfo.cup->cachedlevels[CUPCACHE_SPECIAL];
if (cupLevelNum < nummapheaders && mapheaderinfo[cupLevelNum]) if (cupLevelNum < nummapheaders && mapheaderinfo[cupLevelNum])