mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 17:15:35 +00:00
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 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:
|
||||
|
|
Loading…
Reference in a new issue