Use old NET_MAX_PAYLOAD_BITS constant for SVC_CreateStringTable
This commit is contained in:
parent
438fc51831
commit
462f53d912
@ -27,7 +27,7 @@ namespace NetHandlers
|
|||||||
}
|
}
|
||||||
else
|
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;
|
data->isUserDataFixedSize = bitbuf.ReadOneBit() != 0;
|
||||||
if (data->isUserDataFixedSize)
|
if (data->isUserDataFixedSize)
|
||||||
@ -64,7 +64,7 @@ namespace NetHandlers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bitbuf.WriteUBitLong(data->dataLengthInBits, NET_MAX_PAYLOAD_BITS + 1);
|
bitbuf.WriteUBitLong(data->dataLengthInBits, NET_MAX_PAYLOAD_BITS_OLD + 3);
|
||||||
}
|
}
|
||||||
bitbuf.WriteOneBit(data->isUserDataFixedSize);
|
bitbuf.WriteOneBit(data->isUserDataFixedSize);
|
||||||
if (data->isUserDataFixedSize)
|
if (data->isUserDataFixedSize)
|
||||||
|
Loading…
Reference in New Issue
Block a user