summaryrefslogtreecommitdiff
path: root/src/particle/particleemitter.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-25 19:32:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-25 19:32:59 +0300
commit1b1a7cea1c6b81438bacc86b93cb80a78430790f (patch)
treed23f4e0beea6b4e5c570afafd9ad9de6b68ba812 /src/particle/particleemitter.cpp
parentbb8be1acea37f09c134d7d4042869a679cf8a12b (diff)
downloadmv-1b1a7cea1c6b81438bacc86b93cb80a78430790f.tar.gz
mv-1b1a7cea1c6b81438bacc86b93cb80a78430790f.tar.bz2
mv-1b1a7cea1c6b81438bacc86b93cb80a78430790f.tar.xz
mv-1b1a7cea1c6b81438bacc86b93cb80a78430790f.zip
Change namespace in resources loaders from other to Loader.
Diffstat (limited to 'src/particle/particleemitter.cpp')
-rw-r--r--src/particle/particleemitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp
index eaebc16fd..1cfe93f6e 100644
--- a/src/particle/particleemitter.cpp
+++ b/src/particle/particleemitter.cpp
@@ -122,7 +122,7 @@ ParticleEmitter::ParticleEmitter(const XmlNodePtrConst emitterNode,
{
if (!dyePalettes.empty())
Dye::instantiate(image, dyePalettes);
- mParticleImage = ImageLoader::getImage(image);
+ mParticleImage = Loader::getImage(image);
}
}
else if (name == "subimage")
@@ -134,7 +134,7 @@ ParticleEmitter::ParticleEmitter(const XmlNodePtrConst emitterNode,
{
if (!dyePalettes.empty())
Dye::instantiate(image, dyePalettes);
- Image *img = ImageLoader::getImage(image);
+ Image *img = Loader::getImage(image);
if (img)
{
mParticleImage = Loader::getSubImage(img,
@@ -373,7 +373,7 @@ ImageSet *ParticleEmitter::getImageSet(XmlNodePtrConst node)
const int subX = XML::getProperty(node, "subX", -1);
if (subX != -1)
{
- Image *const img = ImageLoader::getImage(XML::getProperty(
+ Image *const img = Loader::getImage(XML::getProperty(
node, "imageset", ""));
if (!img)
return nullptr;