Kick clients that fail to catch up with server gamelogic
version from rr to accomidate kart netcode a bit better
This commit is contained in:
1 parent
9440aa62ff
commit
2f843feabf
1 file changed
+9
-4
+9
-4
@@ -6660,14 +6660,19 @@ void NetUpdate(void)
|
||||
#ifdef SATURNSYNCH
|
||||
hu_redownloadinggamestate = false;
|
||||
#endif
|
||||
// Don't erase tics not acknowledged
|
||||
counts = realtics;
|
||||
|
||||
firstticstosend = gametic;
|
||||
for (i = 0; i < MAXNETNODES; i++)
|
||||
if (nodeingame[i] && nettics[i] < firstticstosend)
|
||||
{
|
||||
if (!nodeingame[i])
|
||||
continue;
|
||||
if (nettics[i] < firstticstosend)
|
||||
firstticstosend = nettics[i];
|
||||
|
||||
// Don't erase tics not acknowledged
|
||||
counts = realtics;
|
||||
if (maketic + counts >= nettics[i] + (TICQUEUE - TICRATE))
|
||||
Net_ConnectionTimeout(i);
|
||||
}
|
||||
|
||||
for (i = 0; i < MAXNETNODES; ++i)
|
||||
if (resynch_inprogress[i])
|
||||
|
||||
Reference in new issue
Block a user