HUD: realign 1P ping counter and FPS counter positions

This commit is contained in:
James R 2023-10-03 21:22:46 -07:00
parent 62503b244a
commit 8284aff4f1

View file

@ -532,7 +532,7 @@ void SCR_DisplayTicRate(void)
const UINT8 *ticcntcolor = NULL;
UINT32 cap = R_GetFramerateCap();
UINT32 benchmark = (cap == 0) ? I_GetRefreshRate() : cap;
INT32 x = 318;
INT32 x = 317;
double fps = round(averageFPS);
if (fps > (benchmark * 0.9))
@ -586,7 +586,7 @@ void SCR_DisplayLocalPing(void)
return;
}
INT32 dispy = cv_ticrate.value ? 160 : 181;
INT32 dispy = cv_ticrate.value ? 170 : 181;
boolean offline = (consoleplayer == serverplayer);
HU_drawPing(307 * FRACUNIT, dispy * FRACUNIT, ping, V_SNAPTORIGHT | V_SNAPTOBOTTOM, offline, 0);