diff options
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r-- | src/resources/imagehelper.cpp | 2 |
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: |