diff options
author | Perttu Ahola <celeron55@gmail.com> | 2010-12-14 02:24:00 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-14 02:24:00 +0200 |
commit | c951ce3b7cd80b27f09c02e71e63e1ba57b8c0dd (patch) | |
tree | eea2c0c42d95f85e263ec26fe0d677f8caa543b0 /src/voxel.cpp | |
parent | 3d49c88e81a82aade653586ab09767b55eb68b45 (diff) | |
download | minetest-c951ce3b7cd80b27f09c02e71e63e1ba57b8c0dd.tar.gz minetest-c951ce3b7cd80b27f09c02e71e63e1ba57b8c0dd.tar.bz2 minetest-c951ce3b7cd80b27f09c02e71e63e1ba57b8c0dd.zip |
little fixes
Diffstat (limited to 'src/voxel.cpp')
-rw-r--r-- | src/voxel.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/voxel.cpp b/src/voxel.cpp index 3df29dc68..6412957b2 100644 --- a/src/voxel.cpp +++ b/src/voxel.cpp @@ -875,11 +875,10 @@ void VoxelManipulator::flowWater( return; } - TimeTaker timer1("flowWater (active_nodes)", g_device); + //TimeTaker timer1("flowWater (active_nodes)", g_device); - dstream<<"active_nodes.size() = "<<active_nodes.size()<<std::endl; + //dstream<<"active_nodes.size() = "<<active_nodes.size()<<std::endl; - //int counter = 0; u32 stoptime = 0; if(g_device != NULL) @@ -951,23 +950,21 @@ void VoxelManipulator::flowWater( //dstream<<"getWaterPressure ProcessingLimitException"<<std::endl; } - v3s16 e = m_area.getExtent(); + /*v3s16 e = m_area.getExtent(); s32 v = m_area.getVolume(); - //dstream<<"flowWater (active): moved "<<counter<<" nodes, " dstream<<"flowWater (active): " <<"area ended up as " <<e.X<<"x"<<e.Y<<"x"<<e.Z<<" = "<<v <<", handled a_node count: "<<handled_count <<", active_nodes.size() = "<<active_nodes.size() <<std::endl; - dstream<<"addarea_time: "<<addarea_time <<", emerge_time: "<<emerge_time <<", emerge_load_time: "<<emerge_load_time <<", clearflag_time: "<<clearflag_time <<", flowwater_pre_time: "<<flowwater_pre_time <<", updateareawaterpressure_time: "<<updateareawaterpressure_time - <<std::endl; + <<std::endl;*/ } |