disable director on title screen and record attack demos

This commit is contained in:
Alug committed 2024-09-09 09:21:35 +02:00
1 parent 77c40d8aa1
commit 51cf4b7b6f
2 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -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)
+1 -4
View File
@@ -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};