From 41f07328c89e04d00a541334c557f802aaa2f659 Mon Sep 17 00:00:00 2001 From: Perttu Ahola <celeron55@gmail.com> Date: Tue, 31 May 2011 00:16:58 +0300 Subject: [PATCH] removed some debug prints ...and added support for simple time usage profiling in the last one. --- src/server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 6f1f1e6e8..9bcac5a64 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -379,8 +379,8 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime, { m_nearest_unsent_reset_timer = 0; m_nearest_unsent_d = 0; - dstream<<"Resetting m_nearest_unsent_d for " - <<server->getPlayerName(peer_id)<<std::endl; + /*dstream<<"Resetting m_nearest_unsent_d for " + <<server->getPlayerName(peer_id)<<std::endl;*/ } //s16 last_nearest_unsent_d = m_nearest_unsent_d; @@ -697,9 +697,9 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime, { // Pause time in seconds m_nothing_to_send_pause_timer = 1.0; - dstream<<"nothing to send to " + /*dstream<<"nothing to send to " <<server->getPlayerName(peer_id) - <<" (d="<<d<<")"<<std::endl; + <<" (d="<<d<<")"<<std::endl;*/ } } else -- GitLab