summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 35a472125..19f9ab3f2 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -481,6 +481,8 @@ void MapReader::readLayer(XmlNodePtr node, Map *map)
return;
if (pname == "Version" && value > CHECK_VERSION)
return;
+ if (pname == "NotVersion" && value <= CHECK_VERSION)
+ return;
}
}