1
0

Those variables weren't used.

It seems strange for them to be there, is the code written wrong?
This commit is contained in:
Alexander Harkness 2013-11-16 18:46:06 +00:00
parent 5687ca7bad
commit eb77bfc1b3

View File

@ -389,10 +389,6 @@ void cNoise3DComposable::GenerateNoiseArrayIfNeeded(int a_ChunkX, int a_ChunkZ)
const int UPSCALE_Y = 4; const int UPSCALE_Y = 4;
const int UPSCALE_Z = 8; const int UPSCALE_Z = 8;
const int DIM_X = 1 + cChunkDef::Width / UPSCALE_X;
const int DIM_Y = 1 + cChunkDef::Height / UPSCALE_Y;
const int DIM_Z = 1 + cChunkDef::Width / UPSCALE_Z;
// Precalculate a "height" array: // Precalculate a "height" array:
NOISE_DATATYPE Height[17 * 17]; // x + 17 * z NOISE_DATATYPE Height[17 * 17]; // x + 17 * z
for (int z = 0; z < 17; z += UPSCALE_Z) for (int z = 0; z < 17; z += UPSCALE_Z)