summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index 37abc4c..45e6590 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -324,7 +324,7 @@ GeoData::walkUntil(const PointFace & from, GlobalPosition2D to, GlobalPosition2D
const auto e2 = point(to_vertex_handle(opposite_halfedge_handle(next)));
if (const auto intersect = arc.crossesLineAt(e1, e2)) {
step.exitHalfedge = next;
- step.exitPosition = intersect.value();
+ step.exitPosition = intersect.value().first;
break;
}
}