fixes for changed API in Application

This commit is contained in:
Stephen Birarda 2015-07-08 18:27:10 -07:00
parent 791c7e2de1
commit dc7c268467

View file

@ -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