diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-25 20:48:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-25 20:48:35 +0300 |
commit | 5994a6198ac35ea149a7211213dc296ee7406f44 (patch) | |
tree | eec718594fd23da29f9d39e4c0fb00409d514a8e /src/particle | |
parent | 1b1a7cea1c6b81438bacc86b93cb80a78430790f (diff) | |
download | manaplus-5994a6198ac35ea149a7211213dc296ee7406f44.tar.gz manaplus-5994a6198ac35ea149a7211213dc296ee7406f44.tar.bz2 manaplus-5994a6198ac35ea149a7211213dc296ee7406f44.tar.xz manaplus-5994a6198ac35ea149a7211213dc296ee7406f44.zip |
Move imageset load function from resourcemanager into separate file.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particleemitter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp index 1cfe93f6e..a4c565393 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -35,6 +35,7 @@ #include "resources/dye/dye.h" #include "resources/loaders/imageloader.h" +#include "resources/loaders/imagesetloader.h" #include "resources/loaders/subimageloader.h" #include "resources/resourcemanager/resourcemanager.h" @@ -396,7 +397,7 @@ ImageSet *ParticleEmitter::getImageSet(XmlNodePtrConst node) } else { - imageset = resourceManager->getImageSet( + imageset = Loader::getImageSet( XML::getProperty(node, "imageset", ""), XML::getProperty(node, "width", 0), XML::getProperty(node, "height", 0)); |