mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
K_InitGrandPrixRank: Accomodate cv_gptest
This commit is contained in:
parent
8b437d5a32
commit
304a7dce72
1 changed files with 6 additions and 1 deletions
|
|
@ -302,7 +302,12 @@ void K_InitGrandPrixRank(gpRank_t *rankData)
|
||||||
const INT32 cupLevelNum = grandprixinfo.cup->cachedlevels[i];
|
const INT32 cupLevelNum = grandprixinfo.cup->cachedlevels[i];
|
||||||
if (cupLevelNum < nummapheaders && mapheaderinfo[cupLevelNum] != NULL)
|
if (cupLevelNum < nummapheaders && mapheaderinfo[cupLevelNum] != NULL)
|
||||||
{
|
{
|
||||||
laps += mapheaderinfo[cupLevelNum]->numlaps;
|
if (!cv_gptest.value)
|
||||||
|
{
|
||||||
|
laps += mapheaderinfo[cupLevelNum]->numlaps;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
laps++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue