mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixes
thnx to Hey, Fuck you!
This commit is contained in:
parent
5e723f6199
commit
712fca8adc
|
@ -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++)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "items.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <engine/serverbrowser.h>
|
||||
void CItems::OnReset()
|
||||
{
|
||||
m_NumExtraProjectiles = 0;
|
||||
|
|
Loading…
Reference in a new issue