mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fix a few node deref
This commit is contained in:
parent
eb56999077
commit
81ad0056c3
3 changed files with 5 additions and 5 deletions
|
@ -337,7 +337,7 @@ void AvatarMixer::broadcastAvatarData() {
|
|||
});
|
||||
|
||||
// send the avatar data PacketList
|
||||
nodeList->sendPacketList(avatarPacketList, node);
|
||||
nodeList->sendPacketList(avatarPacketList, *node);
|
||||
|
||||
// record the bytes sent for other avatar data in the AvatarMixerClientData
|
||||
nodeData->recordSentAvatarData(numAvatarDataBytes);
|
||||
|
|
|
@ -287,7 +287,7 @@ int OctreeInboundPacketProcessor::sendNackPackets() {
|
|||
packetsSent += nackPacketList.getNumPackets();
|
||||
|
||||
// send the list of nack packets
|
||||
nodeList->sendPacketList(nackPacketList, destinationNode);
|
||||
nodeList->sendPacketList(nackPacketList, *destinationNode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -974,7 +974,7 @@ void DomainServer::sendDomainListToNode(const SharedNodePointer& node, const Hif
|
|||
}
|
||||
|
||||
// write the PacketList to this node
|
||||
limitedNodeList->sendPacketList(domainListPackets, node);
|
||||
limitedNodeList->sendPacketList(domainListPackets, *node);
|
||||
}
|
||||
|
||||
QUuid DomainServer::connectionSecretForNodes(const SharedNodePointer& nodeA, const SharedNodePointer& nodeB) {
|
||||
|
@ -1094,7 +1094,7 @@ void DomainServer::readAvailableDatagrams() {
|
|||
|
||||
assignmentStream << uniqueAssignment;
|
||||
|
||||
limitedNodeList->sendUnreliablePacket(*assignmentPacket, *senderSockAddr);
|
||||
limitedNodeList->sendUnreliablePacket(*assignmentPacket, senderSockAddr);
|
||||
|
||||
// add the information for that deployed assignment to the hash of pending assigned nodes
|
||||
PendingAssignedNodeData* pendingNodeData = new PendingAssignedNodeData(assignmentToDeploy->getUUID(),
|
||||
|
@ -1125,7 +1125,7 @@ void DomainServer::readAvailableDatagrams() {
|
|||
dtlsRequiredPacket->writePrimitive(dtlsPort);
|
||||
}
|
||||
|
||||
limitedNodeList->sendUnreliablePacket(*dtlsRequiredPacket, *senderSockAddr);
|
||||
limitedNodeList->sendUnreliablePacket(*dtlsRequiredPacket, senderSockAddr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue