mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Merge branch 'protocol' of https://github.com/huffman/hifi into protocol
This commit is contained in:
commit
1932703fec
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ NetworkPacket::NetworkPacket(const NetworkPacket& other) :
|
|||
}
|
||||
|
||||
NetworkPacket::NetworkPacket(const SharedNodePointer& node, const NLPacket& packet) {
|
||||
if (packet.getSizeWitHeader() && packet.getSizeWithHeader() <= MAX_nlPacket_SIZE) {
|
||||
if (packet.getSizeWithHeader() && packet.getSizeWithHeader() <= MAX_PACKET_SIZE) {
|
||||
_node = node;
|
||||
_nlPacket = packet;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue