From b286899237ca8deb37d06b657cb3e65053e2a28b Mon Sep 17 00:00:00 2001 From: DankParrot Date: Wed, 12 Aug 2020 20:54:13 -0700 Subject: [PATCH] Remove Chunk::heightmaps for now --- src/world/Chunk.cpp | 3 +-- src/world/Chunk.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/world/Chunk.cpp b/src/world/Chunk.cpp index 12369ff..944dad9 100644 --- a/src/world/Chunk.cpp +++ b/src/world/Chunk.cpp @@ -19,8 +19,7 @@ namespace Feather ); } - CompoundTag hmTag = level.GetCompound("Heightmaps"); - heightmaps = &hmTag; + // TODO: Heightmaps ListTag sectionsList = level.GetList("Sections"); diff --git a/src/world/Chunk.h b/src/world/Chunk.h index 68dc1c4..ff6f7b8 100644 --- a/src/world/Chunk.h +++ b/src/world/Chunk.h @@ -34,8 +34,9 @@ namespace Feather ChunkPos pos; + // TODO: save heightmaps here // UNSERIALIZED - const NBT::CompoundTag* heightmaps; + //const NBT::CompoundTag* heightmaps; public: Chunk(ChunkPos& pos, NBT::CompoundTag& tag);