]> Dogcows Code - chaz/carfire/commitdiff
aasfdaf
authorCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Tue, 30 Mar 2010 23:51:24 +0000 (23:51 +0000)
committerCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Tue, 30 Mar 2010 23:51:24 +0000 (23:51 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@42 92bb83a3-7c8f-8a45-bc97-515c4e399668

Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs

index bc0617cc7ed9838b7cb952f7c67ee1f644092b5b..45c5d0a498fdd5a1ce9de1445b85cdbd309a6187 100644 (file)
@@ -641,6 +641,7 @@ namespace CS_3505_Project_06
                 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
This page took 0.025143 seconds and 4 git commands to generate.