mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Show scores but not "Player 1" in netreplays
This commit is contained in:
parent
7aa83635ae
commit
bbd2d84642
1 changed files with 10 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue