diff --git a/CodeWalker.Core/GameFiles/FileTypes/YmapFile.cs b/CodeWalker.Core/GameFiles/FileTypes/YmapFile.cs index 1d032b0..2c7108d 100644 --- a/CodeWalker.Core/GameFiles/FileTypes/YmapFile.cs +++ b/CodeWalker.Core/GameFiles/FileTypes/YmapFile.cs @@ -1117,7 +1117,7 @@ namespace CodeWalker.GameFiles emax = Vector3.Max(emax, batch.AABBMax); smin = Vector3.Min(smin, (batch.AABBMin - batch.Batch.lodDist)); // + lodoffset - smax = Vector3.Min(smax, (batch.AABBMax + batch.Batch.lodDist)); // - lodoffset + smax = Vector3.Max(smax, (batch.AABBMax + batch.Batch.lodDist)); // - lodoffset } }