Use old NET_MAX_PAYLOAD_BITS constant for SVC_CreateStringTable

This commit is contained in:
Jordan Cristiano 2016-02-06 20:10:59 -05:00
parent 438fc51831
commit 462f53d912

View File

@ -27,7 +27,7 @@ namespace NetHandlers
}
else
{
data->dataLengthInBits = bitbuf.ReadUBitLong(NET_MAX_PAYLOAD_BITS + 1);
data->dataLengthInBits = bitbuf.ReadUBitLong(NET_MAX_PAYLOAD_BITS_OLD + 3);
}
data->isUserDataFixedSize = bitbuf.ReadOneBit() != 0;
if (data->isUserDataFixedSize)
@ -64,7 +64,7 @@ namespace NetHandlers
}
else
{
bitbuf.WriteUBitLong(data->dataLengthInBits, NET_MAX_PAYLOAD_BITS + 1);
bitbuf.WriteUBitLong(data->dataLengthInBits, NET_MAX_PAYLOAD_BITS_OLD + 3);
}
bitbuf.WriteOneBit(data->isUserDataFixedSize);
if (data->isUserDataFixedSize)