mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Podium: display continues on special, transparent grade icon below continues
This commit is contained in:
parent
a3c387abc5
commit
7c1df623ae
1 changed files with 4 additions and 4 deletions
|
|
@ -637,15 +637,15 @@ void podiumData_s::Draw(void)
|
|||
|
||||
if (lvl->event != GPEVENT_SPECIAL && dta->grade != GRADE_INVALID)
|
||||
{
|
||||
if (lvl->continues)
|
||||
drawer_rank.xy(2, 1).font(srb2::Draw::Font::kPing).colorize(SKINCOLOR_RED).text(va("-%d", lvl->continues));
|
||||
else
|
||||
drawer_rank
|
||||
.xy(0, -1)
|
||||
.xy(0, -1).flags(lvl->continues ? V_TRANSLUCENT : 0)
|
||||
.colormap( static_cast<skincolornum_t>(K_GetGradeColor(dta->grade)) )
|
||||
.patch(va("R_CUPRN%c", K_GetGradeChar(dta->grade)));
|
||||
}
|
||||
|
||||
if (lvl->continues)
|
||||
drawer_rank.xy(7, 1).align(srb2::Draw::Align::kCenter).font(srb2::Draw::Font::kPing).colorize(SKINCOLOR_RED).text(va("-%d", lvl->continues));
|
||||
|
||||
// Do not draw any stats for GAME OVERed player
|
||||
if (dta->grade != GRADE_INVALID || lvl->event == GPEVENT_SPECIAL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue