From b0256caf9821aeb7c31c7ff3279bf1f68b936e5b Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sat, 16 Jan 2016 21:23:13 +0300 Subject: [PATCH] [editor] Fixed bug with feature loading. --- indexer/osm_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index 3e1e1d89c1..a320454343 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -266,7 +266,7 @@ void Editor::LoadMapEdits() try { XMLFeature const xml(nodeOrWay.node()); - uint32_t const featureIndex = mapVersion < id.GetInfo()->GetVersion() ? xml.GetMWMFeatureIndex() : MigrateFeatureIndex(xml); + uint32_t const featureIndex = mapVersion == id.GetInfo()->GetVersion() ? xml.GetMWMFeatureIndex() : MigrateFeatureIndex(xml); FeatureID const fid(id, featureIndex); FeatureTypeInfo & fti = m_features[id][fid.m_index];