From 5994a6198ac35ea149a7211213dc296ee7406f44 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 May 2016 20:48:35 +0300 Subject: Move imageset load function from resourcemanager into separate file. --- src/resources/animation/simpleanimation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/animation') diff --git a/src/resources/animation/simpleanimation.cpp b/src/resources/animation/simpleanimation.cpp index bc67ad747..dd88eba4a 100644 --- a/src/resources/animation/simpleanimation.cpp +++ b/src/resources/animation/simpleanimation.cpp @@ -32,7 +32,7 @@ #include "resources/dye/dye.h" -#include "resources/resourcemanager/resourcemanager.h" +#include "resources/loaders/imagesetloader.h" #include "utils/delete2.h" @@ -159,7 +159,7 @@ void SimpleAnimation::initializeAnimation(const XmlNodePtr animationNode, if (!imagePath.empty() && !dyePalettes.empty()) Dye::instantiate(imagePath, dyePalettes); - const ImageSet *const imageset = resourceManager->getImageSet( + const ImageSet *const imageset = Loader::getImageSet( XML::getProperty(animationNode, "imageset", ""), XML::getProperty(animationNode, "width", 0), XML::getProperty(animationNode, "height", 0)); -- cgit v1.2.3-70-g09d2