mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Don't fastforward/pause ghosts in non-attack-start gametypes
This commit is contained in:
parent
10d2bb4511
commit
79b1dab72e
1 changed files with 2 additions and 2 deletions
|
|
@ -1255,7 +1255,7 @@ void G_GhostTicker(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pause jhosts that cross until the timer starts.
|
// Pause jhosts that cross until the timer starts.
|
||||||
if (g->linecrossed && leveltime < starttime)
|
if (g->linecrossed && leveltime < starttime && G_TimeAttackStart())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
readghosttic:
|
readghosttic:
|
||||||
|
|
@ -1566,7 +1566,7 @@ skippedghosttic:
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the timer started, skip ahead until the ghost starts too.
|
// If the timer started, skip ahead until the ghost starts too.
|
||||||
if (starttime <= leveltime && !g->linecrossed)
|
if (starttime <= leveltime && !g->linecrossed && G_TimeAttackStart())
|
||||||
goto readghosttic;
|
goto readghosttic;
|
||||||
|
|
||||||
p = g;
|
p = g;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue