Show scores but not "Player 1" in netreplays

This commit is contained in:
james 2019-02-04 21:23:48 -08:00
parent 7aa83635ae
commit bbd2d84642
1 changed files with 10 additions and 6 deletions

View File

@ -2109,8 +2109,11 @@ UINT32 hu_demolap;
static void HU_DrawDemoInfo(void)
{
V_DrawCenteredString((BASEVIDWIDTH/2), BASEVIDHEIGHT-40, 0, M_GetText("Replay:"));
V_DrawCenteredString((BASEVIDWIDTH/2), BASEVIDHEIGHT-32, V_ALLOWLOWERCASE, player_names[0]);
if (!multiplayer)/* netreplay */
{
V_DrawCenteredString((BASEVIDWIDTH/2), BASEVIDHEIGHT-40, 0, M_GetText("Replay:"));
V_DrawCenteredString((BASEVIDWIDTH/2), BASEVIDHEIGHT-32, V_ALLOWLOWERCASE, player_names[0]);
}
if (modeattacking)
{
V_DrawRightAlignedString((BASEVIDWIDTH/2)-4, BASEVIDHEIGHT-24, V_YELLOWMAP|V_MONOSPACE, "BEST TIME:");
@ -2227,10 +2230,7 @@ void HU_Drawer(void)
if (cechotimer)
HU_DrawCEcho();
if (demoplayback && hu_showscores)
HU_DrawDemoInfo();
if (!Playing()
if (!( Playing() || demoplayback )
|| gamestate == GS_INTERMISSION || gamestate == GS_CUTSCENE
|| gamestate == GS_CREDITS || gamestate == GS_EVALUATION
|| gamestate == GS_GAMEEND
@ -2250,6 +2250,10 @@ void HU_Drawer(void)
LUAh_ScoresHUD();
#endif
}
if (demoplayback)
{
HU_DrawDemoInfo();
}
}
if (gamestate != GS_LEVEL)