From 96e762beb5691ffc29c2c479374a15c68e00637b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20T=C5=AFma?= Date: Fri, 14 Jul 2023 09:52:27 +0200 Subject: [PATCH] Properly mark one-way streets in data from NET links --- src/map/IMG/netfile.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/IMG/netfile.cpp b/src/map/IMG/netfile.cpp index ad2cea04..9d5a603a 100644 --- a/src/map/IMG/netfile.cpp +++ b/src/map/IMG/netfile.cpp @@ -479,6 +479,8 @@ bool NETFile::link(const SubDiv *subdiv, quint32 shift, Handle &hdl, if (lbl) linkLabel(hdl, linkOffset, lbl, lblHdl, poly.label); + if ((linkInfo.flags >> 3) & 1) + poly.oneway = true; lines->append(poly); -- 2.11.4.GIT