mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 09:20:12 +02:00
fixed a comment
This commit is contained in:
parent
d361c75b50
commit
39ba98f3b1
1 changed files with 1 additions and 3 deletions
|
@ -81,19 +81,17 @@ void Agent::readPendingDatagrams() {
|
|||
if (messageLength > statsMessageLength) {
|
||||
mutablePacket = mutablePacket.mid(statsMessageLength);
|
||||
|
||||
// TODO: this does not look correct, the goal is to test the packet version for the piggyback, but
|
||||
// TODO: this needs to be fixed, the goal is to test the packet version for the piggyback, but
|
||||
// this is testing the version and hash of the original packet
|
||||
// need to use numBytesArithmeticCodingFromBuffer()...
|
||||
if (!NodeList::getInstance()->packetVersionAndHashMatch(receivedPacket)) {
|
||||
return; // bail since piggyback data doesn't match our versioning
|
||||
}
|
||||
} else {
|
||||
// Note... stats packets don't have sequence numbers, so we don't want to send those to trackIncomingVoxelPacket()
|
||||
return; // bail since no piggyback data
|
||||
}
|
||||
|
||||
datagramPacketType = packetTypeForPacket(mutablePacket);
|
||||
|
||||
} // fall through to piggyback message
|
||||
|
||||
if (datagramPacketType == PacketTypeParticleData || datagramPacketType == PacketTypeParticleErase) {
|
||||
|
|
Loading…
Reference in a new issue