1
0

Made the minimum vine level configurable

This commit is contained in:
STRWarrior
2015-02-28 22:40:13 +01:00
parent 19d7ec51a0
commit 0394acfc0c
3 changed files with 7 additions and 4 deletions

View File

@@ -287,7 +287,7 @@ void cFinishGenVines::GenFinish(cChunkDesc & a_ChunkDesc)
}
int Height = a_ChunkDesc.GetHeight(x, z);
for (int y = Height; y > 40; y--)
for (int y = Height; y > m_Level; y--)
{
if (a_ChunkDesc.GetBlockType(x, y, z) != E_BLOCK_AIR)
{