mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 01:10:12 +02:00
fixes for changed API in Application
This commit is contained in:
parent
791c7e2de1
commit
dc7c268467
1 changed files with 2 additions and 2 deletions
|
@ -2700,7 +2700,7 @@ int Application::sendNackPackets() {
|
|||
auto it = missingSequenceNumbers.constBegin();
|
||||
while (it != missingSequenceNumbers.constEnd()) {
|
||||
OCTREE_PACKET_SEQUENCE missingNumber = *it;
|
||||
nackPacketList->writePrimitive(missingNumber);
|
||||
nackPacketList.writePrimitive(missingNumber);
|
||||
++it;
|
||||
}
|
||||
|
||||
|
@ -2885,7 +2885,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp
|
|||
}
|
||||
|
||||
// encode the query data
|
||||
int packetSize = _octreeQuery.getBroadcastData(queryPacket.payload());
|
||||
int packetSize = _octreeQuery.getBroadcastData(queryPacket->getPayload());
|
||||
queryPacket->setSizeUsed(packetSize);
|
||||
|
||||
// make sure we still have an active socket
|
||||
|
|
Loading…
Reference in a new issue