summaryrefslogtreecommitdiff
path: root/game/geoData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/geoData.cpp')
-rw-r--r--game/geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index c228e2a..bf9aee0 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -536,7 +536,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip, const
triangle++;
};
std::ranges::for_each(newVerts | std::views::adjacent<3>, doBoundary);
- doBoundaryPart(newVerts.back(), *++newVerts.rbegin(), *strip.rbegin());
+ doBoundaryPart(*++newVerts.rbegin(), newVerts.back(), *strip.rbegin());
std::set<HalfedgeHandle> done;
std::set<HalfedgeHandle> todo;