From 9e69e64d3fc54a3d9e2065eb2af75950353c7f64 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 10 Mar 2014 00:52:33 -0400 Subject: MADS: Completed PaletteUsage::process --- engines/mads/interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mads/interface.cpp') diff --git a/engines/mads/interface.cpp b/engines/mads/interface.cpp index cd2f162cf3..68e2341ccc 100644 --- a/engines/mads/interface.cpp +++ b/engines/mads/interface.cpp @@ -49,14 +49,14 @@ void InterfaceSurface::load(const Common::String &resName) { // Load in the palette Common::SeekableReadStream *palStream = madsPack.getItemStream(0); - RGB4 *gamePalP = &_vm->_palette->_gamePalette[0]; + uint32 *gamePalP = &_vm->_palette->_gamePalette[0]; byte *palP = &_vm->_palette->_mainPalette[0]; for (int i = 0; i < 16; ++i, gamePalP++, palP += 3) { palP[0] = palStream->readByte(); palP[1] = palStream->readByte(); palP[2] = palStream->readByte(); - gamePalP->r |= 1; + *gamePalP |= 1; palStream->skip(3); } delete palStream; -- cgit v1.2.3