mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Fix method and const names in NetworkPacket
This commit is contained in:
parent
419eec4ca7
commit
399b749033
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