mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Code cleanup
This commit is contained in:
parent
a840df5635
commit
2acdf5ea17
|
@ -2706,23 +2706,6 @@ void CClient::Run()
|
|||
g_Config.m_DbgHitch = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
if(ReportTime < time_get())
|
||||
{
|
||||
if(0 && g_Config.m_Debug)
|
||||
{
|
||||
dbg_msg("client/report", "fps=%.02f (%.02f %.02f) netstate=%d",
|
||||
m_Frames/(float)(ReportInterval/time_freq()),
|
||||
1.0f/m_RenderFrameTimeHigh,
|
||||
1.0f/m_RenderFrameTimeLow,
|
||||
m_NetClient.State());
|
||||
}
|
||||
m_RenderFrameTimeLow = 1;
|
||||
m_RenderFrameTimeHigh = 0;
|
||||
m_RenderFrames = 0;
|
||||
ReportTime += ReportInterval;
|
||||
}*/
|
||||
|
||||
// update local time
|
||||
m_LocalTime = (time_get()-m_LocalStartTime)/(float)time_freq();
|
||||
}
|
||||
|
|
|
@ -1600,7 +1600,6 @@ int CServer::Run()
|
|||
|
||||
// start game
|
||||
{
|
||||
int ReportInterval = 3;
|
||||
bool NonActive = false;
|
||||
|
||||
m_Lastheartbeat = 0;
|
||||
|
|
Loading…
Reference in a new issue