mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-23 15:06:15 +00:00
K_CalculateGPGrade: Do not penalise for a cup that has no Prisons/Laps at all, so Sealed Star can be reached with numlaps 0/custom Cup with no battle levels
This commit is contained in:
parent
5e76ea6f8f
commit
f9b1bdf2bc
1 changed files with 2 additions and 2 deletions
|
|
@ -360,8 +360,8 @@ gp_rank_e K_CalculateGPGrade(gpRank_t *rankData)
|
|||
|
||||
const INT32 positionWeight = 150;
|
||||
const INT32 pointsWeight = 100;
|
||||
const INT32 lapsWeight = 100;
|
||||
const INT32 prisonsWeight = 100;
|
||||
const INT32 lapsWeight = (rankData->totalLaps > 0) ? 100 : 0;
|
||||
const INT32 prisonsWeight = (rankData->totalPrisons > 0) ? 100 : 0;
|
||||
const INT32 ringsWeight = 50;
|
||||
const INT32 total = positionWeight + pointsWeight + lapsWeight + prisonsWeight + ringsWeight;
|
||||
const INT32 continuesPenalty = 20;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue