From c8308a2c60d34e4f735b3404f86701109e85f73b Mon Sep 17 00:00:00 2001 From: s1lentq Date: Thu, 1 Aug 2024 00:12:34 +0700 Subject: [PATCH] [HLTV] Fix reverse-engineering mistake in World::WritePacketEntities --- rehlds/HLTV/Core/src/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/HLTV/Core/src/World.cpp b/rehlds/HLTV/Core/src/World.cpp index b355420..2363c11 100644 --- a/rehlds/HLTV/Core/src/World.cpp +++ b/rehlds/HLTV/Core/src/World.cpp @@ -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++;