aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-03 12:14:23 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-03 12:14:23 +0300
commitee89e29ae10d58a2a3d00641f4e459600a49e09e (patch)
treec15415dae2e47243a5f89d754a646ef8b6ff65f1 /src/mapblock.cpp
parent685a635aea4a5c61b899e36ef87ece3d5f9e25a9 (diff)
downloadminetest-ee89e29ae10d58a2a3d00641f4e459600a49e09e.tar.gz
minetest-ee89e29ae10d58a2a3d00641f4e459600a49e09e.tar.bz2
minetest-ee89e29ae10d58a2a3d00641f4e459600a49e09e.zip
Revert mapgen to best working version (2)
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r--src/mapblock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index 94c6ad909..66833addb 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -36,7 +36,7 @@ MapBlock::MapBlock(NodeContainer *parent, v3s16 pos, bool dummy):
is_underground(false),
m_lighting_expired(true),
m_day_night_differs(false),
- m_not_fully_generated(false),
+ //m_not_fully_generated(false),
m_objects(this)
{
data = NULL;
@@ -1763,8 +1763,8 @@ void MapBlock::serialize(std::ostream &os, u8 version)
flags |= 0x02;
if(m_lighting_expired)
flags |= 0x04;
- if(m_not_fully_generated)
- flags |= 0x08;
+ /*if(m_not_fully_generated)
+ flags |= 0x08;*/
os.write((char*)&flags, 1);
u32 nodecount = MAP_BLOCKSIZE*MAP_BLOCKSIZE*MAP_BLOCKSIZE;
@@ -1887,7 +1887,7 @@ void MapBlock::deSerialize(std::istream &is, u8 version)
is_underground = (flags & 0x01) ? true : false;
m_day_night_differs = (flags & 0x02) ? true : false;
m_lighting_expired = (flags & 0x04) ? true : false;
- m_not_fully_generated = (flags & 0x08) ? true : false;
+ //m_not_fully_generated = (flags & 0x08) ? true : false;
// Uncompress data
std::ostringstream os(std::ios_base::binary);