about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 11:23:06 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 11:23:06 +0000
commitf41fa4baba013080e08508491302528ee8509d4b (patch)
treebee9b231e913f54b4c356c95b78660cd700227bf /src/engine/client
parentd0e0d5b043276e0200278c0b4433b8455b0b731f (diff)
downloadzcatch-f41fa4baba013080e08508491302528ee8509d4b.tar.gz
zcatch-f41fa4baba013080e08508491302528ee8509d4b.zip
cleaned up some code
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/client.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 92ae1ac3..24ef5b7c 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