forked from mirror/openmw-tes3mp
fix header size
This commit is contained in:
parent
c695923825
commit
32a2327f59
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ namespace mwmp
|
||||||
void SetSendStream(RakNet::BitStream *bitStream);
|
void SetSendStream(RakNet::BitStream *bitStream);
|
||||||
void SetStreams(RakNet::BitStream *inStream, RakNet::BitStream *outStream);
|
void SetStreams(RakNet::BitStream *inStream, RakNet::BitStream *outStream);
|
||||||
|
|
||||||
size_t headerSize()
|
static const size_t headerSize()
|
||||||
{
|
{
|
||||||
return 9; // 9 == packetID + RakNetGUID (uint64_t)
|
return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in a new issue