removed a debug print that would flood a lot in some kind of a timeout
authorPerttu Ahola <celeron55@gmail.com>
Thu, 2 Jun 2011 17:09:30 +0000 (20:09 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 2 Jun 2011 17:09:30 +0000 (20:09 +0300)
src/server.cpp

index 96fcc0d0757a1aa8a78dab959895c4d6b590aba7..2a1246496dcb8bf9febc2b3e511754fb7a67be22 100644 (file)
@@ -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);