diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-06-02 20:09:30 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-06-02 20:09:30 +0300 |
commit | bf22dba687a349dfdf22f6341b217987b10d05c6 (patch) | |
tree | 3d5e202fe9d1829309e487b41223f2472da57a52 /src | |
parent | 1b8cff8fbf6a1ae121bba93b12318a6f20f1daad (diff) | |
download | minetest-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.cpp | 6 |
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); |