From 548be38a0b564c5624eff521c1e88bfe1062f4bb Mon Sep 17 00:00:00 2001 From: nillerusr Date: Sat, 28 Jan 2023 05:36:57 +0300 Subject: [PATCH] engine: restore checksum check --- engine/net_chan.cpp | 8 -------- engine/wscript | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/engine/net_chan.cpp b/engine/net_chan.cpp index e722bc02..080c727c 100644 --- a/engine/net_chan.cpp +++ b/engine/net_chan.cpp @@ -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 diff --git a/engine/wscript b/engine/wscript index 81456630..54ffdc4e 100755 --- a/engine/wscript +++ b/engine/wscript @@ -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':