Skip to content

Commit 548be38

Browse files
committed
engine: restore checksum check
1 parent 0df7838 commit 548be38

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

engine/net_chan.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,7 @@ extern int NET_ReceiveStream( int nSock, char * buf, int len, int flags );
6464
// We only need to checksum packets on the PC and only when we're actually sending them over the network.
6565
static bool ShouldChecksumPackets()
6666
{
67-
// nillerusr: temporary solution for testing
68-
return false;
69-
70-
#if 0
71-
if ( !IsPC() )
72-
return false;
73-
7467
return NET_IsMultiplayer();
75-
#endif
7668
}
7769

7870
bool CNetChan::IsLoopback() const

engine/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def build(bld):
196196
'EngineSoundServer.cpp',
197197
'audio/voice_wavefile.cpp',
198198
'audio/vox.cpp',
199+
'masterserver.cpp',
199200

200201
#'audio/snd_dev_xaudio.cpp',[$X360]
201202
#'audio/snd_wave_mixer_xma.cpp', [$X360]
@@ -330,7 +331,6 @@ def build(bld):
330331
'vgui_vprofgraphpanel.cpp',
331332
'vgui_vprofpanel.cpp',
332333
'toolframework.cpp',
333-
'masterserver.cpp',
334334
]
335335

336336
if bld.env.DEST_OS != 'win32':

0 commit comments

Comments
 (0)