diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 04:15:45 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 04:15:45 +0200 |
commit | f1d9880006cf713597c1fc573f83db75062712c9 (patch) | |
tree | c5b056acf05ce408964b79b32e3e84a3619b2cdd /src/environment.cpp | |
parent | 6ec447a1aa3678371af31aad4e186885ca4b8f27 (diff) | |
download | minetest-f1d9880006cf713597c1fc573f83db75062712c9.tar.gz minetest-f1d9880006cf713597c1fc573f83db75062712c9.tar.bz2 minetest-f1d9880006cf713597c1fc573f83db75062712c9.zip |
Clean up log messages everywhere
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 6a8943d12..cfe82fb8b 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -454,7 +454,7 @@ void ServerEnvironment::deSerializePlayers(const std::string &savedir) // Full path to this file std::string path = players_path + "/" + player_files[i].name; - infostream<<"Checking player file "<<path<<std::endl; + //infostream<<"Checking player file "<<path<<std::endl; // Load player to see what is its name ServerRemotePlayer testplayer(this); @@ -475,8 +475,8 @@ void ServerEnvironment::deSerializePlayers(const std::string &savedir) <<testplayer.getName()<<std::endl; } - infostream<<"Loaded test player with name "<<testplayer.getName() - <<std::endl; + /*infostream<<"Loaded test player with name "<<testplayer.getName() + <<std::endl;*/ // Search for the player std::string playername = testplayer.getName(); @@ -484,7 +484,7 @@ void ServerEnvironment::deSerializePlayers(const std::string &savedir) bool newplayer = false; if(player == NULL) { - infostream<<"Is a new player"<<std::endl; + //infostream<<"Is a new player"<<std::endl; player = new ServerRemotePlayer(this); newplayer = true; } @@ -493,7 +493,7 @@ void ServerEnvironment::deSerializePlayers(const std::string &savedir) // Load player { - infostream<<"Reading player "<<testplayer.getName()<<" from " + verbosestream<<"Reading player "<<testplayer.getName()<<" from " <<path<<std::endl; // Open file and deserialize std::ifstream is(path.c_str(), std::ios_base::binary); @@ -2254,7 +2254,7 @@ void ClientEnvironment::addActiveObject(u16 id, u8 type, void ClientEnvironment::removeActiveObject(u16 id) { - infostream<<"ClientEnvironment::removeActiveObject(): " + verbosestream<<"ClientEnvironment::removeActiveObject(): " <<"id="<<id<<std::endl; ClientActiveObject* obj = getActiveObject(id); if(obj == NULL) |