mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix overlapping Title CEcho text
If an admin title cecho is active, do not render individual viewport title cechos. Some information is lost, but currently everything expressed through them is not unique while admin title cechos generally are, so they're a safe thing to sacrifice given limited screen space.
This commit is contained in:
parent
5d8efb66a4
commit
908022c821
1 changed files with 9 additions and 1 deletions
|
|
@ -2079,10 +2079,18 @@ drawontop:
|
|||
if (cechotimer)
|
||||
HU_DrawCEcho();
|
||||
|
||||
const struct tcecho_state *firststate = &g_tcecho[0];
|
||||
|
||||
// Server messages overwrite player-specific messages
|
||||
if (HU_TitlecardCEchoElapsed(firststate) < firststate->duration)
|
||||
{
|
||||
HU_DrawTitlecardCEcho(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < NUM_TCECHO_STATES; ++i)
|
||||
for (i = 1; i < NUM_TCECHO_STATES; ++i)
|
||||
{
|
||||
HU_DrawTitlecardCEcho(i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue