mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
removed debug
This commit is contained in:
parent
da6bd2e3b0
commit
b0664163a7
2 changed files with 0 additions and 7 deletions
|
@ -48,19 +48,13 @@ bool JurisdictionListener::queueJurisdictionRequest() {
|
|||
}
|
||||
|
||||
void JurisdictionListener::processPacket(sockaddr& senderAddress, unsigned char* packetData, ssize_t packetLength) {
|
||||
printf("processPacket()\n");
|
||||
if (packetData[0] == PACKET_TYPE_VOXEL_JURISDICTION) {
|
||||
printf("processPacket()... PACKET_TYPE_VOXEL_JURISDICTION\n");
|
||||
|
||||
Node* node = NodeList::getInstance()->nodeWithAddress(&senderAddress);
|
||||
if (node) {
|
||||
uint16_t nodeID = node->getNodeID();
|
||||
JurisdictionMap map;
|
||||
map.unpackFromMessage(packetData, packetLength);
|
||||
_jurisdictions[nodeID] = map;
|
||||
|
||||
qDebug() << "Got a new map...\n";
|
||||
map.displayDebugDetails();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,6 @@ JurisdictionSender::JurisdictionSender(JurisdictionMap* map, PacketSenderNotify*
|
|||
|
||||
void JurisdictionSender::processPacket(sockaddr& senderAddress, unsigned char* packetData, ssize_t packetLength) {
|
||||
if (packetData[0] == PACKET_TYPE_VOXEL_JURISDICTION_REQUEST) {
|
||||
printf("processPacket()... PACKET_TYPE_VOXEL_JURISDICTION_REQUEST\n");
|
||||
Node* node = NodeList::getInstance()->nodeWithAddress(&senderAddress);
|
||||
if (node) {
|
||||
uint16_t nodeID = node->getNodeID();
|
||||
|
|
Loading…
Reference in a new issue