mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
properly call resetVoxelPacket() when suppressing duplicate packets
This commit is contained in:
parent
b10d111891
commit
ce524714d9
1 changed files with 1 additions and 0 deletions
|
@ -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...
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue