mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Merge remote-tracking branch 'huffman/protocol' into atp
This commit is contained in:
commit
018831e230
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