check version against version in OPP

This commit is contained in:
Stephen Birarda 2015-07-16 12:18:27 -07:00
parent 7a48463f4e
commit 3d6b246782

View file

@ -71,7 +71,7 @@ void OctreePacketProcessor::processPacket(QSharedPointer<NLPacket> packet, Share
PacketType::Value packetType = packet->getType();
// check version of piggyback packet against expected version
if (packetType != versionForPacketType(packet->getType())) {
if (packet->getVersion() != versionForPacketType(packet->getType())) {
static QMultiMap<QUuid, PacketType::Value> versionDebugSuppressMap;
const QUuid& senderUUID = packet->getSourceID();