revert adding netbuffer to local ping

dont wanna revert the commit, since i keep the new way of determining the ping display, since its less awful than before
This commit is contained in:
Alug committed 2025-02-11 15:01:57 +01:00
1 parent 8c9808b2d6
commit b32785f88c
2 files changed
+2 -8

No files matched your search

-6
View File
@@ -6700,9 +6700,6 @@ static void UpdatePingTable(void)
simulated_lag = lowest_lag;
if (lowest_lag != 0)
lowest_lag += (tic_t)cv_netticbuffer.value; // account for netticbufffer
pingmeasurecount++;
}
else // We're a client, handle mindelay on the way out.
@@ -6719,9 +6716,6 @@ static void UpdatePingTable(void)
}
else
lowest_lag = simulated_lag = 0;
if (lowest_lag != 0)
lowest_lag += (tic_t)cv_netticbuffer.value; // account for netticbufffer
}
}
+2 -2
View File
@@ -1349,9 +1349,9 @@ boolean D_CheckNetGame(void)
I_Error("Too many nodes (%d), max:%d", doomcom->numnodes, MAXNETNODES);
netbuffer = (doomdata_t *)(void *)&doomcom->data;
#ifdef HOLEPUNCH
#ifdef HOLEPUNCH
holepunchpacket = (holepunch_t *)(void *)&doomcom->data;
#endif
#endif
#ifdef DEBUGFILE
if (M_CheckParm("-debugfile"))