From 79b1dab72eceb96d48265f9796b1f9dd6017dd14 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Wed, 6 Mar 2024 02:26:02 -0700 Subject: [PATCH] Don't fastforward/pause ghosts in non-attack-start gametypes --- src/g_demo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/g_demo.cpp b/src/g_demo.cpp index e48a72a76..e50f76d7f 100644 --- a/src/g_demo.cpp +++ b/src/g_demo.cpp @@ -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;