summaryrefslogtreecommitdiff
path: root/src/particle/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/particle.cpp')
-rw-r--r--src/particle/particle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 422dbe561..3c3a0b836 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -34,7 +34,7 @@
#include "resources/dye/dye.h"
-#include "resources/resourcemanager/resourcemanager.h"
+#include "resources/loaders/imageloader.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
@@ -440,7 +440,7 @@ Particle *Particle::addEffect(const std::string &restrict particleEffectFile,
imageSrc = XmlChildContent(node);
if (!imageSrc.empty() && !dyePalettes.empty())
Dye::instantiate(imageSrc, dyePalettes);
- Image *const img = resourceManager->getImage(imageSrc);
+ Image *const img = ImageLoader::getImage(imageSrc);
newParticle = new ImageParticle(img);
newParticle->setMap(mMap);