diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
commit | 6419386c4c382753509425826ee609dd07d4ae72 (patch) | |
tree | f5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/simpleanimation.cpp | |
parent | 78744020528ef6231e1606bbe2e8c53011c77935 (diff) | |
download | mv-6419386c4c382753509425826ee609dd07d4ae72.tar.gz mv-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2 mv-6419386c4c382753509425826ee609dd07d4ae72.tar.xz mv-6419386c4c382753509425826ee609dd07d4ae72.zip |
add const to other files.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index de0050fa4..e0623c937 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -155,8 +155,8 @@ void SimpleAnimation::initializeAnimation(const XmlNodePtr animationNode, if (!imagePath.empty() && !dyePalettes.empty()) Dye::instantiate(imagePath, dyePalettes); - ImageSet *const imageset = ResourceManager::getInstance()->getImageSet( - XML::getProperty(animationNode, "imageset", ""), + const ImageSet *const imageset = ResourceManager::getInstance() + ->getImageSet(XML::getProperty(animationNode, "imageset", ""), XML::getProperty(animationNode, "width", 0), XML::getProperty(animationNode, "height", 0)); |