Remove unnecessary debug output
authorPerttu Ahola <celeron55@gmail.com>
Wed, 28 Mar 2012 22:38:13 +0000 (01:38 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Wed, 28 Mar 2012 22:38:13 +0000 (01:38 +0300)
src/map.cpp
src/server.cpp

index e24bac2f26dab2f2c8d12777a29a84ebb50b6695..c49c29074c183e4be4dc02e68ac85e93dc4c80fa 100644 (file)
@@ -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;
index a8267b1f103752efc1eee817e290e30cd3f4998f..c83fce3b044e624ef795d2145cc757bb149258ce 100644 (file)
@@ -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)