1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

again fix headerSize

This commit is contained in:
Koncord 2016-09-04 18:38:49 +08:00
parent d9452f3798
commit 5eaad1b92e

View file

@ -35,7 +35,7 @@ namespace mwmp
static size_t headerSize()
{
return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
return (size_t)(1 + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
}
unsigned char GetPacketID()