mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Remove dbg_hitch
config variable
This config variable was only settable in the server console but only read in the client, so it was effectively unusable. It also has no use case right now.
This commit is contained in:
parent
31a80c976b
commit
1028cedee3
|
@ -3376,12 +3376,6 @@ void CClient::Run()
|
|||
else
|
||||
LastTime = Now;
|
||||
|
||||
if(g_Config.m_DbgHitch)
|
||||
{
|
||||
std::this_thread::sleep_for(g_Config.m_DbgHitch * 1ms);
|
||||
g_Config.m_DbgHitch = 0;
|
||||
}
|
||||
|
||||
// update local and global time
|
||||
m_LocalTime = (time_get() - m_LocalStartTime) / (float)time_freq();
|
||||
m_GlobalTime = (time_get() - m_GlobalStartTime) / (float)time_freq();
|
||||
|
|
|
@ -193,7 +193,6 @@ MACRO_CONFIG_INT(EcOutputLevel, ec_output_level, 1, 0, 2, CFGFLAG_ECON, "Adjusts
|
|||
MACRO_CONFIG_INT(Debug, debug, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SERVER, "Debug mode")
|
||||
MACRO_CONFIG_INT(DbgCurl, dbg_curl, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SERVER, "Debug curl")
|
||||
MACRO_CONFIG_INT(DbgGraphs, dbg_graphs, 0, 0, 1, CFGFLAG_CLIENT, "Performance graphs")
|
||||
MACRO_CONFIG_INT(DbgHitch, dbg_hitch, 0, 0, 0, CFGFLAG_SERVER, "Hitch warnings")
|
||||
MACRO_CONFIG_INT(DbgGfx, dbg_gfx, 0, 0, 4, CFGFLAG_CLIENT, "Show graphic library warnings and errors, if the GPU supports it (0: none, 1: minimal, 2: affects performance, 3: verbose, 4: all)")
|
||||
#ifdef CONF_DEBUG
|
||||
MACRO_CONFIG_INT(DbgStress, dbg_stress, 0, 0, 0, CFGFLAG_CLIENT | CFGFLAG_SERVER, "Stress systems (Debug build only)")
|
||||
|
|
Loading…
Reference in a new issue