From 54e36c4ff83d86346479bfae0e9bcef64afb1a49 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 10 Apr 2012 20:16:51 +0000 Subject: (svn r24111) -Codechange: use Colour more instead of manually bitstuffing --- src/blitter/32bpp_anim.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/blitter/32bpp_anim.hpp') diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp index 43e074ce5..c03062dc2 100644 --- 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); -- cgit v1.2.3-70-g09d2