From 51cf4b7b6f09c4195e988e4eae3ef65bf5814db2 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 9 Sep 2024 09:21:35 +0200 Subject: [PATCH] disable director on title screen and record attack demos --- src/k_director.c | 2 +- src/st_stuff.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/k_director.c b/src/k_director.c index a0cb6f961..025c3041b 100644 --- a/src/k_director.c +++ b/src/k_director.c @@ -49,7 +49,7 @@ static fixed_t ScaleFromMap(fixed_t n, fixed_t scale) static boolean K_DirectorIsEnabled(void) { - return cv_director.value && !splitscreen && (gamestate == GS_LEVEL && (!playeringame[consoleplayer] || players[consoleplayer].spectator || demo.playback)); + return cv_director.value && !splitscreen && (gamestate == GS_LEVEL && (!playeringame[consoleplayer] || players[consoleplayer].spectator || (demo.playback && (!demo.title || !modeattacking)))); } void K_InitDirector(void) diff --git a/src/st_stuff.c b/src/st_stuff.c index 33edf17c4..28e9f23e0 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -652,10 +652,7 @@ static void ST_overlayDrawer(void) if (!hu_showscores) // hide the following if TAB is held { - // Countdown timer for Race Mode - // ...moved to k_kart.c so we can take advantage of the LAPS_Y value - - if ((demo.playback || !P_IsLocalPlayer(stplyr)) && !splitscreen) + if (((demo.playback && (!demo.title || !modeattacking)) || !P_IsLocalPlayer(stplyr)) && !splitscreen) { char directortext[20] = {0};