mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +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) {
|
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;
|
_node = node;
|
||||||
_nlPacket = packet;
|
_nlPacket = packet;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue