projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8cff8
)
removed a debug print that would flood a lot in some kind of a timeout
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 2 Jun 2011 17:09:30 +0000
(20:09 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 2 Jun 2011 17:09:30 +0000
(20:09 +0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index 96fcc0d0757a1aa8a78dab959895c4d6b590aba7..2a1246496dcb8bf9febc2b3e511754fb7a67be22 100644
(file)
--- 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);