halve bandwidth usage

This commit is contained in:
Bob
2010-10-16 22:25:31 +13:00
parent c2b3a749ca
commit 3df310df6e
2 changed files with 20 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ namespace OpenRA.Network
Dictionary<int, byte[]> syncForFrame = new Dictionary<int, byte[]>();
void CheckSync(byte[] packet)
void CheckSync( byte[] packet )
{
var frame = BitConverter.ToInt32(packet, 0);
byte[] existingSync;
@@ -173,8 +173,6 @@ namespace OpenRA.Network
syncReport.UpdateSyncReport();
CheckSync( ss );
++NetFrameNumber;
}