conflict fix 2

This commit is contained in:
Alug committed 2025-01-23 21:29:08 +01:00
1 parent f4f3f6e29c
commit 1857ce5113
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2451,7 +2451,7 @@ Ping_conversion (UINT32 lag)
// HU_drawPing
//
void HU_drawPing(INT32 x, INT32 y, INT32 pnum, INT32 flags)
void HU_drawPlayerPing(INT32 x, INT32 y, INT32 pnum, INT32 flags)
{
INT32 measureid = cv_pingmeasurement.value ? 1 : 0;
INT32 gfxnum; // gfx to draw
+2 -2
View File
@@ -8904,9 +8904,9 @@ void HU_DrawTabRankings(INT32 x, INT32 y, playersort_t *tab, INT32 scorelines, I
if (players[tab[i].num].spectator || !players[tab[i].num].mo)
continue; //ignore them.
if ((netgame && pnum != serverplayer) || (cv_mindelay.value && P_IsLocalPlayer(&players[pnum])))
if ((netgame && tab[i].num != serverplayer) || (cv_mindelay.value && P_IsLocalPlayer(&players[tab[i].num])))
{
HU_drawPlayerPing(x + ((i < 8) ? -17 : rightoffset + 11), y-4, pnum, 0);
HU_drawPlayerPing(x + ((i < 8) ? -17 : rightoffset + 11), y-4, tab[i].num, 0);
}
STRBUFCPY(strtime, tab[i].name);