Ravines: removed a debugging feature from release builds
git-svn-id: http://mc-server.googlecode.com/svn/trunk@684 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
7198ddba46
commit
c3c149d62e
@ -399,11 +399,13 @@ void cStructGenRavines::cRavine::ProcessChunk(
|
||||
int DifZ = BlockStartZ - itr->m_BlockZ; // substitution for faster calc
|
||||
for (int x = 0; x < cChunkDef::Width; x++) for (int z = 0; z < cChunkDef::Width; z++)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
// DEBUG: Make the ravine shapepoints visible on a single layer (so that we can see with Minutor what's going on)
|
||||
if ((DifX + x == 0) && (DifZ + z == 0))
|
||||
{
|
||||
cChunkDef::SetBlock(a_BlockTypes, x, 4, z, E_BLOCK_LAPIS_ORE);
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
int DistSq = (DifX + x) * (DifX + x) + (DifZ + z) * (DifZ + z);
|
||||
if (DistSq <= RadiusSq)
|
||||
|
Loading…
Reference in New Issue
Block a user