Instead of trying to carve out an exception for the brief window of time after winning but before director begins, just remove the <x> input for starting demo title entry

This commit is contained in:
toaster 2025-08-28 19:30:48 +01:00
parent daf32c5eab
commit 73c381750a
2 changed files with 3 additions and 18 deletions

View file

@ -4316,22 +4316,12 @@ boolean G_CheckDemoTitleEntry(void)
if (menuactive || chat_on) if (menuactive || chat_on)
return false; return false;
// Input conflict for both <b> and <x> // Input conflict
if (gamestate == GS_LEVEL && camera[0].freecam) if (gamestate == GS_LEVEL && camera[0].freecam)
return false; return false;
if (!G_PlayerInputDown(0, gc_b, 0)) if (!G_PlayerInputDown(0, gc_b, 0))
{ return false;
// Input conflict for <x>
if (gamestate == GS_LEVEL
&& playeringame[consoleplayer]
&& players[consoleplayer].spectator
&& K_DirectorIsEnabled(0))
return false;
if (!G_PlayerInputDown(0, gc_x, 0))
return false;
}
demo.willsave = true; demo.willsave = true;
M_OpenVirtualKeyboard( M_OpenVirtualKeyboard(

View file

@ -1510,13 +1510,8 @@ void ST_DrawSaveReplayHint(INT32 flags)
} }
else if (demo.willsave && demo.titlename[0]) else if (demo.willsave && demo.titlename[0])
text = "Replay will be saved. <b> Change title"; text = "Replay will be saved. <b> Change title";
else if (gamestate == GS_LEVEL
&& playeringame[consoleplayer]
&& players[consoleplayer].spectator
&& K_DirectorIsEnabled(0))
text = "<b> Save replay";
else else
text = "<b> or <x> Save replay"; text = "<b> Save replay";
K_DrawGameControl(BASEVIDWIDTH - 2, 2, 0, text, 2, TINY_FONT, flags|V_YELLOWMAP); K_DrawGameControl(BASEVIDWIDTH - 2, 2, 0, text, 2, TINY_FONT, flags|V_YELLOWMAP);
} }