mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:17:35 +02:00
nacked edit packets are not resent if NACKs are disabled in menu
This commit is contained in:
parent
fd051310da
commit
3730be9804
1 changed files with 9 additions and 3 deletions
|
@ -149,13 +149,19 @@ void DatagramProcessor::processDatagrams() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PacketTypeVoxelEditNack:
|
case PacketTypeVoxelEditNack:
|
||||||
|
if (!Menu::getInstance()->isOptionChecked(MenuOption::DisableNackPackets)) {
|
||||||
application->_voxelEditSender.processNackPacket(incomingPacket);
|
application->_voxelEditSender.processNackPacket(incomingPacket);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case PacketTypeParticleEditNack:
|
case PacketTypeParticleEditNack:
|
||||||
|
if (!Menu::getInstance()->isOptionChecked(MenuOption::DisableNackPackets)) {
|
||||||
application->_particleEditSender.processNackPacket(incomingPacket);
|
application->_particleEditSender.processNackPacket(incomingPacket);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case PacketTypeModelEditNack:
|
case PacketTypeModelEditNack:
|
||||||
|
if (!Menu::getInstance()->isOptionChecked(MenuOption::DisableNackPackets)) {
|
||||||
application->_modelEditSender.processNackPacket(incomingPacket);
|
application->_modelEditSender.processNackPacket(incomingPacket);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
nodeList->processNodeData(senderSockAddr, incomingPacket);
|
nodeList->processNodeData(senderSockAddr, incomingPacket);
|
||||||
|
|
Loading…
Reference in a new issue