Comment out debug output in ServerEnvironment::activateBlock

master
Perttu Ahola 2011-11-28 14:54:39 +02:00
parent fadf248892
commit 7bb4b7911b
1 changed files with 4 additions and 4 deletions

View File

@ -671,14 +671,14 @@ void ServerEnvironment::activateBlock(MapBlock *block, u32 additional_dtime)
dtime_s = m_game_time - block->getTimestamp(); dtime_s = m_game_time - block->getTimestamp();
dtime_s += additional_dtime; dtime_s += additional_dtime;
infostream<<"ServerEnvironment::activateBlock(): block timestamp: " /*infostream<<"ServerEnvironment::activateBlock(): block timestamp: "
<<stamp<<", game time: "<<m_game_time<<std::endl; <<stamp<<", game time: "<<m_game_time<<std::endl;*/
// Set current time as timestamp // Set current time as timestamp
block->setTimestampNoChangedFlag(m_game_time); block->setTimestampNoChangedFlag(m_game_time);
infostream<<"ServerEnvironment::activateBlock(): block is " /*infostream<<"ServerEnvironment::activateBlock(): block is "
<<dtime_s<<" seconds old."<<std::endl; <<dtime_s<<" seconds old."<<std::endl;*/
// Activate stored objects // Activate stored objects
activateObjects(block); activateObjects(block);