diff --git a/src/main/java/com/seibel/lod/core/util/DataPointUtil.java b/src/main/java/com/seibel/lod/core/util/DataPointUtil.java index 43b4234a7..ae5679501 100644 --- a/src/main/java/com/seibel/lod/core/util/DataPointUtil.java +++ b/src/main/java/com/seibel/lod/core/util/DataPointUtil.java @@ -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];