[-] Fixed network error

This commit is contained in:
cybermind 2015-03-09 14:46:11 +05:00
parent 9d5069537f
commit 1e60d3689f

View file

@ -790,10 +790,6 @@ static void NetworkParseInGameEvent(const unsigned char *buf, int len, const CHo
if (player != 255) {
NetworkBroadcast(packet, commands, player);
}
if (NetworkLastCycle[player] > 10 && (int)(packet.Header.Cycle - NetworkLastCycle[player]) > (int)CNetworkParameter::Instance.NetworkLag) {
NetworkInSync = false;
return;
}
}
if (commands < 0) {
DebugPrint("Bad packet read\n");