1
0

DistortedHeightmap: Small optimizations, memory leak fix.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1449 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-05-06 12:20:25 +00:00
parent 27d0e01160
commit 7004622e8b
4 changed files with 34 additions and 2 deletions

View File

@@ -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;