engine: common: net_chan: remove unneeded check for demo and remote address in netchan, as it's handled in client and server already
This commit is contained in:
parent
ff4221fbe7
commit
33a1416199
1 changed files with 0 additions and 3 deletions
|
@ -1700,9 +1700,6 @@ qboolean Netchan_Process( netchan_t *chan, sizebuf_t *msg )
|
||||||
qboolean message_contains_fragments;
|
qboolean message_contains_fragments;
|
||||||
int i, qport, statId;
|
int i, qport, statId;
|
||||||
|
|
||||||
if( !CL_IsPlaybackDemo() && !NET_CompareAdr( net_from, chan->remote_address ))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// get sequence numbers
|
// get sequence numbers
|
||||||
MSG_Clear( msg );
|
MSG_Clear( msg );
|
||||||
sequence = MSG_ReadLong( msg );
|
sequence = MSG_ReadLong( msg );
|
||||||
|
|
Loading…
Add table
Reference in a new issue