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:
1 parent
8c9808b2d6
commit
b32785f88c
2 files changed
+2
-8
No files matched your search
@@ -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
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user