properly call resetVoxelPacket() when suppressing duplicate packets

This commit is contained in:
ZappoMan 2013-10-28 12:09:40 -07:00
parent b10d111891
commit ce524714d9

View file

@ -63,6 +63,7 @@ void VoxelSendThread::handlePacketSend(Node* node, VoxelNodeData* nodeData, int&
// obscure the packet and not send it. This allows the callers and upper level logic to not need to know about
// this rate control savings.
if (nodeData->shouldSuppressDuplicatePacket()) {
nodeData->resetVoxelPacket(); // we still need to reset it though!
return; // without sending...
}