mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Fix Packet ctor
This commit is contained in:
parent
9e7644ee78
commit
784cc880a7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ std::unique_ptr<Packet> Packet::createCopy(const Packet& other) {
|
|||
}
|
||||
|
||||
Packet::Packet(qint64 size, bool isReliable, bool isPartOfMessage) :
|
||||
BasePacket(size),
|
||||
BasePacket(Packet::localHeaderSize() + size),
|
||||
_isReliable(isReliable),
|
||||
_isPartOfMessage(isPartOfMessage)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue