mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 07:05:43 +03:00
[HLTV] Fix reverse-engineering mistake in World::WritePacketEntities
This commit is contained in:
parent
ed954a710f
commit
c8308a2c60
@ -1341,7 +1341,7 @@ void World::WritePacketEntities(BitBuffer *stream, frame_t *frame, frame_t *delt
|
||||
header.remove = false;
|
||||
|
||||
delta_t *delta = GetDeltaEncoder(newindex, header.custom);
|
||||
m_Delta.WriteDelta(stream, (byte *)&deltaEntities[oldnum], (byte *)&frameEntities[newnum], true, delta, &header);
|
||||
m_Delta.WriteDelta(stream, (byte *)&deltaEntities[newindex], (byte *)&frameEntities[newnum], false, delta, &header);
|
||||
|
||||
oldnum++;
|
||||
newnum++;
|
||||
|
Loading…
Reference in New Issue
Block a user