From 464d4c5327aa0a5b8e890f4c713c8034acca68fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 11 Feb 2020 21:16:31 +0100 Subject: [PATCH] Removed forgotten devel code --- src/map/IMG/rgnfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/IMG/rgnfile.cpp b/src/map/IMG/rgnfile.cpp index 6f8408c3..7221bfb6 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -174,7 +174,7 @@ bool RGNFile::polyObjects(Handle &hdl, const SubDiv *subdiv, if (!(stream.atEnd() && stream.flush())) return false; - if (lbl && (labelPtr & 0x3FFFFF) && subdiv->bits() > 18) { + if (lbl && (labelPtr & 0x3FFFFF)) { if (labelPtr & 0x800000) { quint32 lblOff; if (net && net->lblOffset(netHdl, labelPtr & 0x3FFFFF, lblOff) @@ -281,7 +281,7 @@ bool RGNFile::extPolyObjects(Handle &hdl, const SubDiv *subdiv, quint32 shift, ? _linesFlags : _polygonsFlags, segmentType)) return false; - if (lbl && (labelPtr & 0x3FFFFF) && subdiv->bits() > 18) + if (lbl && (labelPtr & 0x3FFFFF)) poly.label = lbl->label(lblHdl, labelPtr & 0x3FFFFF); polys->append(poly);