Fixed not writing delta byte in svc_packetentities
This commit is contained in:
parent
91e63d3f39
commit
7cc79178e7
|
@ -32,8 +32,13 @@ namespace NetHandlers
|
|||
bitbuf.WriteUBitLong(data->maxEntries, MAX_EDICT_BITS);
|
||||
if (data->isDelta)
|
||||
{
|
||||
bitbuf.WriteOneBit(1);
|
||||
bitbuf.WriteLong(data->deltaFromTick);
|
||||
}
|
||||
else
|
||||
{
|
||||
bitbuf.WriteOneBit(0);
|
||||
}
|
||||
bitbuf.WriteUBitLong(data->baselineIndex, 1);
|
||||
bitbuf.WriteUBitLong(data->numUpdatedEntries, MAX_EDICT_BITS);
|
||||
bitbuf.WriteUBitLong(data->dataLengthInBits, DELTASIZE_BITS);
|
||||
|
|
Loading…
Reference in New Issue
Block a user