From 6419386c4c382753509425826ee609dd07d4ae72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 22:39:29 +0300 Subject: add const to other files. --- src/simpleanimation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simpleanimation.cpp') 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)); -- cgit v1.2.3-60-g2f50