engine: restore checksum check
This commit is contained in:
parent
0df7838ee1
commit
548be38a0b
@ -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.
|
// We only need to checksum packets on the PC and only when we're actually sending them over the network.
|
||||||
static bool ShouldChecksumPackets()
|
static bool ShouldChecksumPackets()
|
||||||
{
|
{
|
||||||
// nillerusr: temporary solution for testing
|
|
||||||
return false;
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
if ( !IsPC() )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return NET_IsMultiplayer();
|
return NET_IsMultiplayer();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CNetChan::IsLoopback() const
|
bool CNetChan::IsLoopback() const
|
||||||
|
@ -196,6 +196,7 @@ def build(bld):
|
|||||||
'EngineSoundServer.cpp',
|
'EngineSoundServer.cpp',
|
||||||
'audio/voice_wavefile.cpp',
|
'audio/voice_wavefile.cpp',
|
||||||
'audio/vox.cpp',
|
'audio/vox.cpp',
|
||||||
|
'masterserver.cpp',
|
||||||
|
|
||||||
#'audio/snd_dev_xaudio.cpp',[$X360]
|
#'audio/snd_dev_xaudio.cpp',[$X360]
|
||||||
#'audio/snd_wave_mixer_xma.cpp', [$X360]
|
#'audio/snd_wave_mixer_xma.cpp', [$X360]
|
||||||
@ -330,7 +331,6 @@ def build(bld):
|
|||||||
'vgui_vprofgraphpanel.cpp',
|
'vgui_vprofgraphpanel.cpp',
|
||||||
'vgui_vprofpanel.cpp',
|
'vgui_vprofpanel.cpp',
|
||||||
'toolframework.cpp',
|
'toolframework.cpp',
|
||||||
'masterserver.cpp',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if bld.env.DEST_OS != 'win32':
|
if bld.env.DEST_OS != 'win32':
|
||||||
|
Loading…
Reference in New Issue
Block a user