summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-25 14:13:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-25 14:13:51 +0300
commite2f03241a1ba9d6b536b0b7a6f995e4e8d894408 (patch)
tree2bfd5cda7899a5793de62b5f47925a09eac320f5 /src/being/actorsprite.cpp
parent59271755dc75f5de6c288308df92f687deaa32b4 (diff)
downloadmv-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.gz
mv-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.bz2
mv-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.xz
mv-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.zip
Move images load function from resourcemanager into separate file.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index adcae1cb6..9b9361fb8 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -37,7 +37,7 @@
#include "resources/db/statuseffectdb.h"
-#include "resources/resourcemanager/resourcemanager.h"
+#include "resources/loaders/imageloader.h"
#include "resources/sprite/animatedsprite.h"
#include "resources/sprite/imagesprite.h"
@@ -416,7 +416,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
break;
}
imagePath = combineDye2(imagePath, color);
- Image *img = resourceManager->getImage(imagePath);
+ Image *img = ImageLoader::getImage(imagePath);
if (!img)
img = Theme::getImageFromTheme("unknown-item.png");