Remove unnecessary debug output

This commit is contained in:
Perttu Ahola 2012-03-29 01:38:13 +03:00
parent a6ca7eb29d
commit 582ca33507
2 changed files with 2 additions and 3 deletions

@ -1297,7 +1297,6 @@ void Map::removeNodeAndUpdate(v3s16 p,
bool Map::addNodeWithEvent(v3s16 p, MapNode n)
{
ScopeProfiler sp(g_profiler, "Map::addNodeWithEvent", SPT_AVG);
MapEditEvent event;
event.type = MEET_ADDNODE;
event.p = p;

@ -322,8 +322,8 @@ void * EmergeThread::Thread()
TimeTaker timer("on_generated");
scriptapi_environment_on_generated(m_server->m_lua,
minp, maxp, mapgen::get_blockseed(data.seed, minp));
int t = timer.stop(true);
dstream<<"on_generated took "<<t<<"ms"<<std::endl;
/*int t = timer.stop(true);
dstream<<"on_generated took "<<t<<"ms"<<std::endl;*/
}
if(enable_mapgen_debug_info)