engine: restore checksum check

This commit is contained in:
nillerusr 2023-01-28 05:36:57 +03:00
parent 0df7838ee1
commit 548be38a0b
2 changed files with 1 additions and 9 deletions

View File

@ -64,15 +64,7 @@ extern int NET_ReceiveStream( int nSock, char * buf, int len, int flags );
// We only need to checksum packets on the PC and only when we're actually sending them over the network.
static bool ShouldChecksumPackets()
{
// nillerusr: temporary solution for testing
return false;
#if 0
if ( !IsPC() )
return false;
return NET_IsMultiplayer();
#endif
}
bool CNetChan::IsLoopback() const

View File

@ -196,6 +196,7 @@ def build(bld):
'EngineSoundServer.cpp',
'audio/voice_wavefile.cpp',
'audio/vox.cpp',
'masterserver.cpp',
#'audio/snd_dev_xaudio.cpp',[$X360]
#'audio/snd_wave_mixer_xma.cpp', [$X360]
@ -330,7 +331,6 @@ def build(bld):
'vgui_vprofgraphpanel.cpp',
'vgui_vprofpanel.cpp',
'toolframework.cpp',
'masterserver.cpp',
]
if bld.env.DEST_OS != 'win32':