summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-20 16:41:58 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-20 16:41:58 +0300
commitbee3a0e524c3d02eb754c7096c259748c35605f6 (patch)
tree4082e98ee0317ebcc26bc05f9b3e3a22780ec1a0 /src/resources
parentd29f0000a85334cae0388f8a9b50b3f2de39dac7 (diff)
downloadmanaplus-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.cpp2
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;