summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 12ad310ed..62a604ebe 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -29,6 +29,7 @@
#include "resources/dye.h"
#include "resources/image.h"
+#include "resources/imagehelper.h"
#include "resources/imageset.h"
#include "resources/music.h"
#include "resources/soundeffect.h"
@@ -456,8 +457,8 @@ struct DyedImageLoader
delete d;
return nullptr;
}
- Resource *res = d ? Image::load(rw, *d)
- : Image::load(rw);
+ Resource *res = d ? ImageHelper::load(rw, *d)
+ : ImageHelper::load(rw);
delete d;
return res;
}