mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix FAULT text immediately disappearing the moment leveltime exceeds starttime+TICRATE
This commit is contained in:
parent
cd9d8d59db
commit
7b9747593d
1 changed files with 10 additions and 11 deletions
|
|
@ -5066,16 +5066,7 @@ static void K_drawKartStartCountdown(void)
|
||||||
{
|
{
|
||||||
INT32 pnum = 0;
|
INT32 pnum = 0;
|
||||||
|
|
||||||
if (stplyr->lives <= 0 && stplyr->playerstate == PST_DEAD)
|
if (leveltime >= introtime && leveltime < starttime-(3*TICRATE))
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (stplyr->karthud[khud_fault] != 0 && stplyr->karthud[khud_finish] == 0)
|
|
||||||
{
|
|
||||||
K_drawKartFinish(false);
|
|
||||||
}
|
|
||||||
else if (leveltime >= introtime && leveltime < starttime-(3*TICRATE))
|
|
||||||
{
|
{
|
||||||
if (numbulbs > 1)
|
if (numbulbs > 1)
|
||||||
K_drawKartStartBulbs();
|
K_drawKartStartBulbs();
|
||||||
|
|
@ -6293,7 +6284,15 @@ void K_drawKartHUD(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw the countdowns after everything else.
|
// Draw the countdowns after everything else.
|
||||||
if (starttime != introtime
|
if (stplyr->lives <= 0 && stplyr->playerstate == PST_DEAD)
|
||||||
|
{
|
||||||
|
;
|
||||||
|
}
|
||||||
|
else if (stplyr->karthud[khud_fault] != 0 && stplyr->karthud[khud_finish] == 0)
|
||||||
|
{
|
||||||
|
K_drawKartFinish(false);
|
||||||
|
}
|
||||||
|
else if (starttime != introtime
|
||||||
&& leveltime >= introtime
|
&& leveltime >= introtime
|
||||||
&& leveltime < starttime+TICRATE)
|
&& leveltime < starttime+TICRATE)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue