aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-02 20:09:30 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-02 20:09:30 +0300
commitbf22dba687a349dfdf22f6341b217987b10d05c6 (patch)
tree3d5e202fe9d1829309e487b41223f2472da57a52 /src
parent1b8cff8fbf6a1ae121bba93b12318a6f20f1daad (diff)
downloadminetest-bf22dba687a349dfdf22f6341b217987b10d05c6.tar.gz
minetest-bf22dba687a349dfdf22f6341b217987b10d05c6.tar.bz2
minetest-bf22dba687a349dfdf22f6341b217987b10d05c6.zip
removed a debug print that would flood a lot in some kind of a timeout
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 96fcc0d07..2a1246496 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1376,8 +1376,10 @@ void Server::AsyncRunStep()
Player *player = m_env.getPlayer(client->peer_id);
if(player==NULL)
{
- dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client "<<client->peer_id
- <<" has no associated player"<<std::endl;
+ // This can happen if the client timeouts somehow
+ /*dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client "
+ <<client->peer_id
+ <<" has no associated player"<<std::endl;*/
continue;
}
v3s16 pos = floatToInt(player->getPosition(), BS);