summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r--src/resources/imagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp
index c05ac5816..e7e3dea14 100644
--- a/src/resources/imagehelper.cpp
+++ b/src/resources/imagehelper.cpp
@@ -110,7 +110,7 @@ Image *ImageHelper::load(SDL_RWops *const rw, Dye const &dye)
{
const DyePalette *const pal = dye.getAPalete();
if (pal)
- pal->replaceAColor(pixels, surf->w * surf->h);
+ DYEPALETTEP(pal, AColor)(pixels, surf->w * surf->h);
break;
}
case 0: