From ff96948d57cacd580c23d892e099304476df8a2e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Feb 2012 01:57:44 +0300 Subject: Add NotVersion map layer property. Client load this layer if client version less than property value. --- src/resources/mapreader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/mapreader.cpp') 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; } } -- cgit v1.2.3-70-g09d2