mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 18:16:38 +02:00
Remove redundant lookup for packetType
This commit is contained in:
parent
4d9b28688d
commit
677ffb7068
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue