engine: server: don't bother printing about unsupported connectionless packets if sv_log_outofband is set to 0
This commit is contained in:
parent
4eaa8ab40f
commit
cb5dffd554
1 changed files with 1 additions and 3 deletions
|
@ -3196,12 +3196,10 @@ void SV_ConnectionlessPacket( netadr_t from, sizebuf_t *msg )
|
||||||
if( len > 0 )
|
if( len > 0 )
|
||||||
Netchan_OutOfBand( NS_SERVER, from, len, (byte*)buf );
|
Netchan_OutOfBand( NS_SERVER, from, len, (byte*)buf );
|
||||||
}
|
}
|
||||||
else
|
else if( sv_log_outofband.value )
|
||||||
{
|
|
||||||
Con_DPrintf( S_ERROR "bad connectionless packet from %s:\n%s\n", NET_AdrToString( from ), args );
|
Con_DPrintf( S_ERROR "bad connectionless packet from %s:\n%s\n", NET_AdrToString( from ), args );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static qboolean SV_PlayerIsFrozen( const edict_t *pClient )
|
static qboolean SV_PlayerIsFrozen( const edict_t *pClient )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue