summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/geoData.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index 74ededa..4cfcf6d 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -571,6 +571,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip, const
/ distance(startPoint.xy(), endPoint.xy()))
< opts.nearNodeTolerance) {
start = adjVertex;
+ point(start).z = positionOnTriangle(adjPoint, triangle).z;
return true;
}
return false;