Removed unnecessary buffer zero assignment in StringTable_BitRead
This commit is contained in:
parent
1ca5fbfd2c
commit
3a36da8a82
@ -61,8 +61,6 @@ static void StringTable_BitRead(NetHandlers::BitRead& bitbuf, SourceGameContext&
|
|||||||
{
|
{
|
||||||
if (data->isUserDataFixedSize)
|
if (data->isUserDataFixedSize)
|
||||||
{
|
{
|
||||||
nBytes = data->userDataSize;
|
|
||||||
tempbuf[nBytes - 1] = 0;
|
|
||||||
bitbuf.ReadBits(tempbuf, data->userDataSizeBits);
|
bitbuf.ReadBits(tempbuf, data->userDataSizeBits);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user