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

View file

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