Skip to content

Commit

Permalink
Properly mark one-way streets in data from NET links
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Jul 14, 2023
1 parent b4be5ea commit 96e762b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/map/IMG/netfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 96e762b

Please sign in to comment.