Don't fastforward/pause ghosts in non-attack-start gametypes

This commit is contained in:
AJ Martinez 2024-03-06 02:26:02 -07:00
parent 10d2bb4511
commit 79b1dab72e

View file

@ -1255,7 +1255,7 @@ void G_GhostTicker(void)
}
// Pause jhosts that cross until the timer starts.
if (g->linecrossed && leveltime < starttime)
if (g->linecrossed && leveltime < starttime && G_TimeAttackStart())
continue;
readghosttic:
@ -1566,7 +1566,7 @@ skippedghosttic:
}
// 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;
p = g;