mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:08:51 +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();
|
auto it = missingSequenceNumbers.constBegin();
|
||||||
while (it != missingSequenceNumbers.constEnd()) {
|
while (it != missingSequenceNumbers.constEnd()) {
|
||||||
OCTREE_PACKET_SEQUENCE missingNumber = *it;
|
OCTREE_PACKET_SEQUENCE missingNumber = *it;
|
||||||
nackPacketList->writePrimitive(missingNumber);
|
nackPacketList.writePrimitive(missingNumber);
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2885,7 +2885,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp
|
||||||
}
|
}
|
||||||
|
|
||||||
// encode the query data
|
// encode the query data
|
||||||
int packetSize = _octreeQuery.getBroadcastData(queryPacket.payload());
|
int packetSize = _octreeQuery.getBroadcastData(queryPacket->getPayload());
|
||||||
queryPacket->setSizeUsed(packetSize);
|
queryPacket->setSizeUsed(packetSize);
|
||||||
|
|
||||||
// make sure we still have an active socket
|
// make sure we still have an active socket
|
||||||
|
|
Loading…
Reference in a new issue