Browse Source

engine: restore checksum check

serverbrowser
nillerusr 2 years ago
parent
commit
548be38a0b
  1. 8
      engine/net_chan.cpp
  2. 2
      engine/wscript

8
engine/net_chan.cpp

@ -64,15 +64,7 @@ extern int NET_ReceiveStream( int nSock, char * buf, int len, int flags ); @@ -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

2
engine/wscript

@ -196,6 +196,7 @@ def build(bld): @@ -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): @@ -330,7 +331,6 @@ def build(bld):
'vgui_vprofgraphpanel.cpp',
'vgui_vprofpanel.cpp',
'toolframework.cpp',
'masterserver.cpp',
]
if bld.env.DEST_OS != 'win32':

Loading…
Cancel
Save