diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 2420f3fa5..c631c709a 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1877,10 +1877,7 @@ void CClient::ProcessServerPacket(CNetChunk *pPacket) // for antiping: if the projectile netobjects from the server contains extra data, this is removed and the original content restored before recording demo unsigned char aExtraInfoRemoved[CSnapshot::MAX_SIZE]; mem_copy(aExtraInfoRemoved, pTmpBuffer3, SnapSize); - CServerInfo Info; - GetServerInfo(&Info); - if(IsDDNet(&Info)) - SnapshotRemoveExtraInfo(aExtraInfoRemoved); + SnapshotRemoveExtraInfo(aExtraInfoRemoved); // add snapshot to demo for(int i = 0; i < RECORDER_MAX; i++) diff --git a/src/game/client/components/items.cpp b/src/game/client/components/items.cpp index d6a7230c5..1e5b16a09 100644 --- a/src/game/client/components/items.cpp +++ b/src/game/client/components/items.cpp @@ -17,7 +17,6 @@ #include "items.h" #include -#include void CItems::OnReset() { m_NumExtraProjectiles = 0;