summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-26 15:48:56 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-26 15:48:56 +0300
commit91cfbe2891a3fbec2aac019ccfba74b667d94fc4 (patch)
tree21ab12f020d71dc7c1534e16d2b295bdd322969e /src/map.cpp
parent3b098fd5dc1a3e05d671b3ec1a9acb20a036b88f (diff)
downloadminetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.tar.gz
minetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.tar.bz2
minetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.zip
reorganized a lot of stuff and modified mapgen and objects slightly while doing it
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 3164028b7..a20cd9910 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -26,10 +26,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "utility.h"
#include "voxel.h"
#include "porting.h"
-#include "mineral.h"
-#include "noise.h"
-#include "serverobject.h"
-#include "content_mapnode.h"
#include "mapgen.h"
#include "nodemetadata.h"
@@ -901,7 +897,7 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n,
{
}
-#if 1
+#if 0
/*
If the new node is solid and there is grass below, change it to mud
*/
@@ -2869,10 +2865,10 @@ MapSector* ServerMap::loadSectorMeta(std::string sectordir, bool save_after_load
// format. Just go ahead and create the sector.
if(fs::PathExists(sectordir))
{
- dstream<<"ServerMap::loadSectorMeta(): Sector metafile "
+ /*dstream<<"ServerMap::loadSectorMeta(): Sector metafile "
<<fullpath<<" doesn't exist but directory does."
<<" Continuing with a sector with no metadata."
- <<std::endl;
+ <<std::endl;*/
sector = new ServerMapSector(this, p2d);
m_sectors.insert(p2d, sector);
}