diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-20 16:41:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-20 16:41:58 +0300 |
commit | bee3a0e524c3d02eb754c7096c259748c35605f6 (patch) | |
tree | 4082e98ee0317ebcc26bc05f9b3e3a22780ec1a0 /src/resources | |
parent | d29f0000a85334cae0388f8a9b50b3f2de39dac7 (diff) | |
download | manaplus-bee3a0e524c3d02eb754c7096c259748c35605f6.tar.gz manaplus-bee3a0e524c3d02eb754c7096c259748c35605f6.tar.bz2 manaplus-bee3a0e524c3d02eb754c7096c259748c35605f6.tar.xz manaplus-bee3a0e524c3d02eb754c7096c259748c35605f6.zip |
add option to enable/disable map tiles animations.
Misc \ Map \ Play map animations.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index a1b087102..1e94b06f2 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -900,7 +900,7 @@ Tileset *MapReader::readTileset(XmlNodePtr node, const std::string &path, } // create animation - if (!set) + if (!set || !config.getBoolValue("playMapAnimations")) continue; Animation *ani = new Animation; |