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()