diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp --- a/src/blitter/32bpp_anim.hpp +++ b/src/blitter/32bpp_anim.hpp @@ -47,9 +47,9 @@ public: /** * Look up the colour in the current palette. */ - inline uint32 LookupColourInPalette(uint index) + inline Colour LookupColourInPalette(uint index) { - return this->palette.palette[index].data; + return this->palette.palette[index]; } template void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);