Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2700,7 +2700,7 @@ int Application::sendNackPackets() { · 2699 unmodified lines | |||
| 2700 | auto it = missingSequenceNumbers.constBegin(); | 2700 | auto it = missingSequenceNumbers.constBegin(); |
| 2701 | while (it != missingSequenceNumbers.constEnd()) { | 2701 | while (it != missingSequenceNumbers.constEnd()) { |
| 2702 | OCTREE_PACKET_SEQUENCE missingNumber = *it; | 2702 | OCTREE_PACKET_SEQUENCE missingNumber = *it; |
| 2703 | nackPacketList->writePrimitive(missingNumber); | 2703 | nackPacketList.writePrimitive(missingNumber); |
| 2704 | ++it; | 2704 | ++it; |
| 2705 | } | 2705 | } |
| 2706 | 2706 | ||
| @@ -2885,7 +2885,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp · 178 unmodified lines | |||
| 2885 | } | 2885 | } |
| 2886 | 2886 | ||
| 2887 | // encode the query data | 2887 | // encode the query data |
| 2888 | int packetSize = _octreeQuery.getBroadcastData(queryPacket.payload()); | 2888 | int packetSize = _octreeQuery.getBroadcastData(queryPacket->getPayload()); |
| 2889 | queryPacket->setSizeUsed(packetSize); | 2889 | queryPacket->setSizeUsed(packetSize); |
| 2890 | 2890 | ||
| 2891 | // make sure we still have an active socket | 2891 | // make sure we still have an active socket |