From 60028086e203af82284a38342c8533c6a463fd89 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 18 Sep 2013 18:49:57 +0000 Subject: [PATCH] see if this fixes crc bug --- source/glest_game/network/network_interface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/glest_game/network/network_interface.cpp b/source/glest_game/network/network_interface.cpp index 621d94abc..bccceb544 100644 --- a/source/glest_game/network/network_interface.cpp +++ b/source/glest_game/network/network_interface.cpp @@ -49,6 +49,9 @@ NetworkInterface::NetworkInterface() { receivedDataSynchCheck=false; networkPlayerFactionCRCMutex = new Mutex(); + for(unsigned int index = 0; index < GameConstants::maxPlayers; ++index) { + networkPlayerFactionCRC[index] = 0; + } } void NetworkInterface::init() {