mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 09:12:22 +00:00
M_CheckCondition: fix UCRP_PODIUMCUP GP grade
- PodiumCup grade condition was completely broken and checked against the cup ID instead of the grade letter
This commit is contained in:
parent
2e60465638
commit
cc240600e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1628,7 +1628,7 @@ boolean M_CheckCondition(condition_t *cn, player_t *player)
|
|||
)
|
||||
return false;
|
||||
if (cn->extrainfo2 != 0)
|
||||
return (K_PodiumGrade() >= cn->requirement);
|
||||
return (K_PodiumGrade() >= cn->extrainfo1);
|
||||
if (cn->extrainfo1 != 0)
|
||||
return (player->position != 0
|
||||
&& player->position <= cn->extrainfo1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue