diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-09 01:57:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-09 01:57:44 +0300 |
commit | ff96948d57cacd580c23d892e099304476df8a2e (patch) | |
tree | 68e7115778e9b5625c096996b63c2fefc74ba4e8 /src/resources | |
parent | 59302a2460ad879ea662fec0b808dfe5e6dd36c0 (diff) | |
download | plus-ff96948d57cacd580c23d892e099304476df8a2e.tar.gz plus-ff96948d57cacd580c23d892e099304476df8a2e.tar.bz2 plus-ff96948d57cacd580c23d892e099304476df8a2e.tar.xz plus-ff96948d57cacd580c23d892e099304476df8a2e.zip |
Add NotVersion map layer property.
Client load this layer if client version less than property value.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
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; } } |