mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
Fix standard race times being modified on line cross
This commit is contained in:
parent
506ab31f7f
commit
a2438a14c2
1 changed files with 2 additions and 3 deletions
|
|
@ -1965,14 +1965,13 @@ static void K_HandleLapIncrement(player_t *player)
|
|||
player->karthud[khud_lapanimation] = 80;
|
||||
}
|
||||
|
||||
if (!linecrossed)
|
||||
if (G_TimeAttackStart() && !linecrossed)
|
||||
{
|
||||
linecrossed = leveltime;
|
||||
if (starttime > leveltime) // Overlong starts shouldn't reset time on cross
|
||||
starttime = leveltime;
|
||||
demo_extradata[player-players] |= DXD_START;
|
||||
if (G_TimeAttackStart())
|
||||
Music_Stop("position");
|
||||
Music_Stop("position");
|
||||
}
|
||||
|
||||
if (rainbowstartavailable == true && player->mo->hitlag == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue