\r
-#undef DEBUG\r
+//#define DEBUG\r
\r
using System;\r
using System.Collections.Generic;\r
NetworkGamer sender;\r
\r
localGamer.ReceiveData(mPacketReader, out sender);\r
- if (sender == null || sender.IsDisposed) continue;\r
- GamerInfo senderInfo = mGamers[sender.Id];\r
\r
PacketType packetId = (PacketType)mPacketReader.ReadByte();\r
switch (packetId)\r
\r
case PacketType.Event:\r
\r
+ GamerInfo senderInfo = mGamers[sender.Id];\r
+\r
int stallCount = mPacketReader.ReadInt16();\r
int averageOwd = mPacketReader.ReadInt16();\r
int frameNumber = mPacketReader.ReadInt32();\r
\r
case PacketType.Stall:\r
\r
+ GamerInfo senderInfo2 = mGamers[sender.Id];\r
+\r
byte numStalledPeers = mPacketReader.ReadByte();\r
byte[] stalledPeers = mPacketReader.ReadBytes(numStalledPeers);\r
\r