summaryrefslogtreecommitdiffstats
path: root/source/Generating/DistortedHeightmap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-06 14:20:25 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-06 14:20:25 +0200
commit7004622e8b99c56ef4cc8c528fbe510b36d604ed (patch)
tree12abd33e558e18db32dddbc2d20b9087bd418e3f /source/Generating/DistortedHeightmap.h
parentDistortedHeightmap: Slight speed increase (diff)
downloadcuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.gz
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.bz2
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.lz
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.xz
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.tar.zst
cuberite-7004622e8b99c56ef4cc8c528fbe510b36d604ed.zip
Diffstat (limited to 'source/Generating/DistortedHeightmap.h')
-rw-r--r--source/Generating/DistortedHeightmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Generating/DistortedHeightmap.h b/source/Generating/DistortedHeightmap.h
index 65ec70a6d..83c638ce8 100644
--- a/source/Generating/DistortedHeightmap.h
+++ b/source/Generating/DistortedHeightmap.h
@@ -53,7 +53,8 @@ protected:
NOISE_DATATYPE * m_NoiseArrayZ;
cBiomeGen & m_BiomeGen;
- cHeiGenCache m_HeightGen; // This generator provides us with base heightmap (before distortion)
+ cHeiGenBiomal m_UnderlyingHeiGen; // This generator provides us with base heightmap (before distortion)
+ cHeiGenCache m_HeightGen; // Cache above m_UnderlyingHeiGen
/// Heightmap for the current chunk, before distortion (from m_HeightGen). Used for optimization.
cChunkDef::HeightMap m_CurChunkHeights;