mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Podium: Fix Y_DrawIntermissionButton slidein
This commit is contained in:
parent
b09a9b40c4
commit
bf0d0f39bc
1 changed files with 9 additions and 5 deletions
|
|
@ -714,6 +714,15 @@ void podiumData_s::Draw(void)
|
||||||
true,
|
true,
|
||||||
(rank.position > 3)
|
(rank.position > 3)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (state == PODIUM_ST_DONE)
|
||||||
|
{
|
||||||
|
Y_DrawIntermissionButton(delay, 0);
|
||||||
|
}
|
||||||
|
else if (state == PODIUM_ST_EXIT)
|
||||||
|
{
|
||||||
|
Y_DrawIntermissionButton(-1, (2*TICRATE) - delay);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1130,9 +1139,4 @@ void K_CeremonyDrawer(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
g_podiumData.Draw();
|
g_podiumData.Draw();
|
||||||
|
|
||||||
if (g_podiumData.state >= PODIUM_ST_DONE)
|
|
||||||
{
|
|
||||||
Y_DrawIntermissionButton(0, 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue