removed /2 in merge multi data. now that we support a lot of connected lods it's needed
This commit is contained in:
@@ -324,7 +324,7 @@ public class DataPointUtil
|
||||
int size = dataToMerge.length / inputVerticalData;
|
||||
|
||||
// We initialize the arrays that are going to be used
|
||||
int heightAndDepthLength = (WORLD_HEIGHT / 2 + 1) * 2;
|
||||
int heightAndDepthLength = WORLD_HEIGHT * 2;
|
||||
short[] heightAndDepth = tLocalHeightAndDepth.get();
|
||||
if (heightAndDepth==null || heightAndDepth.length != heightAndDepthLength) {
|
||||
heightAndDepth = new short[heightAndDepthLength];
|
||||
|
||||
Reference in New Issue
Block a user