diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 12:58:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 12:58:57 +0000 |
commit | 7a0121a612e901585fef39c1b599d53a21cb0afe (patch) | |
tree | 06f4731b4004e6ec52ce4205929c337a61949242 /game/geoData.cpp | |
parent | Update terrain meshes as required (diff) | |
download | ilt-7a0121a612e901585fef39c1b599d53a21cb0afe.tar.bz2 ilt-7a0121a612e901585fef39c1b599d53a21cb0afe.tar.xz ilt-7a0121a612e901585fef39c1b599d53a21cb0afe.zip |
SetHeightOptions surface changed to defaulted pointer
Diffstat (limited to 'game/geoData.cpp')
-rw-r--r-- | game/geoData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp index 5771a2f..d8caff7 100644 --- a/game/geoData.cpp +++ b/game/geoData.cpp @@ -591,7 +591,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip, const auto surfaceStripWalk = [this, &getTriangle, &opts](const auto & surfaceStripWalk, const auto & face) -> void { if (!property(surface, face)) { - property(surface, face) = &opts.surface; + property(surface, face) = opts.surface; std::ranges::for_each( ff_range(face), [this, &getTriangle, &surfaceStripWalk](const auto & adjacentFaceHandle) { if (getTriangle(this->triangle<2>(adjacentFaceHandle).centroid())) { |