mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:33:35 +02:00
allow equal for piggyback check in OctreeSendThread
This commit is contained in:
parent
6a76f858d8
commit
631c745784
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ int OctreeSendThread::handlePacketSend(OctreeQueryNode* nodeData, int& trueBytes
|
|||
NLPacket& statsPacket = nodeData->stats.getStatsMessage();
|
||||
|
||||
// If the size of the stats message and the octree message will fit in a packet, then piggyback them
|
||||
if (nodeData->getPacket()->getSizeWithHeader() < statsPacket->bytesAvailable()) {
|
||||
if (nodeData->getPacket()->getSizeWithHeader() <= statsPacket->bytesAvailable()) {
|
||||
|
||||
// copy octree message to back of stats message
|
||||
statsPacket->write(nodeData->getPacket()->getData(), nodeData->getPacket()->getSizeWithHeader());
|
||||
|
|
Loading…
Reference in a new issue