mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: datablock sender cleanup
Mark cvar net_compressDataBlockLzAcceleration static.
This commit is contained in:
parent
7f4ab752b2
commit
4e96239e0f
@ -7,7 +7,7 @@
|
||||
#include "common/proto_oob.h"
|
||||
#include "datablock_sender.h"
|
||||
|
||||
ConVar net_compressDataBlockLzAcceleration("net_compressDataBlockLzAcceleration", "1", FCVAR_DEVELOPMENTONLY, "The acceleration value for LZ4 data block compression");
|
||||
static ConVar net_compressDataBlockLzAcceleration("net_compressDataBlockLzAcceleration", "1", FCVAR_DEVELOPMENTONLY, "The acceleration value for LZ4 data block compression");
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: sends the data block
|
||||
@ -80,9 +80,7 @@ float ServerDataBlockSender::GetResendRate() const
|
||||
const float netResendRate = pChan->GetResendRate();
|
||||
|
||||
if (netResendRate < net_datablock_networkLossForSlowSpeed->GetFloat())
|
||||
{
|
||||
return m_flResendRate;
|
||||
}
|
||||
|
||||
return netResendRate;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user