mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
remove firstDomainCheckIn bool that is no longer required
This commit is contained in:
parent
73d3ecccf3
commit
3b4231208a
1 changed files with 0 additions and 6 deletions
|
@ -140,8 +140,6 @@ void Agent::run() {
|
||||||
|
|
||||||
int thisFrame = 0;
|
int thisFrame = 0;
|
||||||
|
|
||||||
bool firstDomainCheckIn = false;
|
|
||||||
|
|
||||||
while (!_shouldStop) {
|
while (!_shouldStop) {
|
||||||
|
|
||||||
// if we're not hearing from the domain-server we should stop running
|
// if we're not hearing from the domain-server we should stop running
|
||||||
|
@ -201,10 +199,6 @@ void Agent::run() {
|
||||||
|
|
||||||
while (NodeList::getInstance()->getNodeSocket()->receive((sockaddr*) &senderAddress, receivedData, &receivedBytes)
|
while (NodeList::getInstance()->getNodeSocket()->receive((sockaddr*) &senderAddress, receivedData, &receivedBytes)
|
||||||
&& packetVersionMatch(receivedData)) {
|
&& packetVersionMatch(receivedData)) {
|
||||||
if (!firstDomainCheckIn && receivedData[0] == PACKET_TYPE_DOMAIN) {
|
|
||||||
firstDomainCheckIn = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
NodeList::getInstance()->processNodeData((sockaddr*) &senderAddress, receivedData, receivedBytes);
|
NodeList::getInstance()->processNodeData((sockaddr*) &senderAddress, receivedData, receivedBytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue