aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-13 21:32:35 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-13 21:32:35 +0200
commit3ac2abb0b5f84819abe6feea9d7b883b40369610 (patch)
tree2fad297e30cdae1b205d77dc559b25d9e5a0efc7 /src/map.cpp
parent22037459e321cfe51719c58f492145d39b48c196 (diff)
downloadminetest-3ac2abb0b5f84819abe6feea9d7b883b40369610.tar.gz
minetest-3ac2abb0b5f84819abe6feea9d7b883b40369610.tar.bz2
minetest-3ac2abb0b5f84819abe6feea9d7b883b40369610.zip
commit before content-tile separation
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 8bc914cfd..f9adbd00a 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1504,7 +1504,8 @@ MapSector * ServerMap::emergeSector(v2s16 p2d)
sector->setHeightmap(p_in_sector, hm);
//TODO: Make these values configurable
- hm->generateContinued(1.0, 0.2, corners);
+ hm->generateContinued(0.0, 0.0, corners);
+ //hm->generateContinued(1.0, 0.2, corners);
//hm->generateContinued(2.0, 0.2, corners);
//hm->print();
@@ -3242,8 +3243,8 @@ MapVoxelManipulator::MapVoxelManipulator(Map *map)
MapVoxelManipulator::~MapVoxelManipulator()
{
- dstream<<"MapVoxelManipulator: blocks: "<<m_loaded_blocks.size()
- <<std::endl;
+ /*dstream<<"MapVoxelManipulator: blocks: "<<m_loaded_blocks.size()
+ <<std::endl;*/
}
#if 1
@@ -3358,7 +3359,7 @@ void MapVoxelManipulator::blitBack
if(m_area.getExtent() == v3s16(0,0,0))
return;
- TimeTaker timer1("blitBack", g_device);
+ //TimeTaker timer1("blitBack", g_device);
/*
Initialize block cache