Removed unnecessary buffer zero assignment in StringTable_BitRead

This commit is contained in:
Gabriel Huber 2016-04-25 22:34:54 +02:00
parent 1ca5fbfd2c
commit 3a36da8a82

View File

@ -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