mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Merge branch 'hidegrade' into 'master'
Hide NiGHTS grade in singleplayer if ranking is below GRADE_A Closes #250 See merge request STJr/SRB2Internal!377
This commit is contained in:
commit
c84a538c85
1 changed files with 3 additions and 6 deletions
|
|
@ -1474,12 +1474,9 @@ static void ST_drawNightsRecords(void)
|
||||||
|
|
||||||
if (P_HasGrades(gamemap, stplyr->lastmare + 1))
|
if (P_HasGrades(gamemap, stplyr->lastmare + 1))
|
||||||
{
|
{
|
||||||
if (aflag)
|
UINT8 grade = P_GetGrade(stplyr->lastmarescore, gamemap, stplyr->lastmare);
|
||||||
V_DrawTranslucentPatch(BASEVIDWIDTH/2 + 60, 160, aflag,
|
if (modeattacking || grade >= GRADE_A)
|
||||||
ngradeletters[P_GetGrade(stplyr->lastmarescore, gamemap, stplyr->lastmare)]);
|
V_DrawTranslucentPatch(BASEVIDWIDTH/2 + 60, 160, aflag, ngradeletters[grade]);
|
||||||
else
|
|
||||||
V_DrawScaledPatch(BASEVIDWIDTH/2 + 60, 160, 0,
|
|
||||||
ngradeletters[P_GetGrade(stplyr->lastmarescore, gamemap, stplyr->lastmare)]);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue