various changes to the generation + some small fixes

This commit is contained in:
Leonardo
2021-09-23 01:05:54 +02:00
parent 00da0e0520
commit c9aed389ae
6 changed files with 149 additions and 100 deletions
@@ -273,7 +273,7 @@ public class LodRegion
{
if (doesDataExist(childDetailLevel, childPosX + x, childPosZ + z))
{
if (!requireCorrectDetailLevel && detailLevel > supposedLevel + 1)
if (!requireCorrectDetailLevel)
{
childrenCount++;
} else
@@ -286,7 +286,7 @@ public class LodRegion
//If all the four children exist we go deeper
if(!requireCorrectDetailLevel && detailLevel > supposedLevel + 1)
if(!requireCorrectDetailLevel)
{
if (childrenCount == 4)
{