diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 01:38:13 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 01:38:13 +0300 |
commit | 582ca33507a6d03007646c803c2a93a4562b0dd1 (patch) | |
tree | 5c3f937fa4004b1cdcc77f36f2c4e15552335a07 /src | |
parent | a6ca7eb29dcd729cf4ac6f1446b5b3e8589b3872 (diff) | |
download | minetest-582ca33507a6d03007646c803c2a93a4562b0dd1.tar.gz minetest-582ca33507a6d03007646c803c2a93a4562b0dd1.tar.bz2 minetest-582ca33507a6d03007646c803c2a93a4562b0dd1.zip |
Remove unnecessary debug output
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 1 | ||||
-rw-r--r-- | src/server.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map.cpp b/src/map.cpp index e24bac2f2..c49c29074 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -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; diff --git a/src/server.cpp b/src/server.cpp index a8267b1f1..c83fce3b0 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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) |