Remove redundant lookup for packetType

This commit is contained in:
Ryan Huffman 2015-07-14 14:50:36 -07:00
parent 4d9b28688d
commit 677ffb7068

View file

@ -75,7 +75,7 @@ void OctreePacketProcessor::processPacket(QSharedPointer<NLPacket> packet, Share
static QMultiMap<QUuid, PacketType::Value> versionDebugSuppressMap;
const QUuid& senderUUID = packet->getSourceID();
if (!versionDebugSuppressMap.contains(senderUUID, packet->getType())) {
if (!versionDebugSuppressMap.contains(senderUUID, packetType)) {
qDebug() << "Packet version mismatch on" << packetType << "- Sender"
<< senderUUID << "sent" << (int) packetType << "but"