diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 92ae1ac30..24ef5b7c3 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1256,7 +1256,6 @@ void CClient::ProcessPacket(CNetChunk *pPacket) // game message if(m_DemoRecorder.IsRecording()) m_DemoRecorder.RecordMessage(pPacket->m_pData, pPacket->m_DataSize); - // demorec_record_write("MESG", pPacket->data_size, ); GameClient()->OnMessage(Msg, &Unpacker); } @@ -1422,7 +1421,6 @@ void CClient::Update() { int64 CurtickStart = (m_aSnapshots[SNAP_CURRENT]->m_Tick)*time_freq()/50; int64 PrevtickStart = (m_aSnapshots[SNAP_PREV]->m_Tick)*time_freq()/50; - //tg_add(&predicted_time_graph, pred_now, 0); int PrevPredTick = (int)(PredNow*50/time_freq()); int NewPredTick = PrevPredTick+1; static float LastPredintra = 0; @@ -1484,15 +1482,6 @@ void CClient::Update() ActionTaken = Now; } } - else - { - /*if(now > action_taken+time_freq()*(10+config.dbg_stress)) - { - dbg_msg("stress", "disconnecting!"); - Disconnect(); - action_taken = now; - }*/ - } } // pump the network