1
0

Generator: Rewritten to use SharedPtrs.

This commit is contained in:
Mattes D
2014-10-19 14:01:59 +02:00
parent d50bbf3899
commit e0cfbc4d85
21 changed files with 149 additions and 185 deletions

View File

@@ -411,7 +411,7 @@ void cStructGenLakes::CreateLakeImage(int a_ChunkX, int a_ChunkZ, cBlockArea & a
// Find the minimum height in this chunk:
cChunkDef::HeightMap HeightMap;
m_HeiGen.GenHeightMap(a_ChunkX, a_ChunkZ, HeightMap);
m_HeiGen->GenHeightMap(a_ChunkX, a_ChunkZ, HeightMap);
HEIGHTTYPE MinHeight = HeightMap[0];
for (size_t i = 1; i < ARRAYCOUNT(HeightMap); i++)
{