From ab039812e7d0a0202317c61a2cb64874e4d0c410 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 7 Feb 2011 17:52:38 +0000 Subject: COMMON: OSystem now has a PaletteManager svn-id: r55806 --- engines/gob/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/util.cpp') diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index 889833ad47..f0b475f65b 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -325,7 +325,7 @@ void Util::clearPalette() { if (_vm->_global->_setAllPalette) { if (_vm->getPixelFormat().bytesPerPixel == 1) { memset(colors, 0, 1024); - g_system->setPalette(colors, 0, 256); + g_system->getPaletteManager()->setPalette(colors, 0, 256); } return; -- cgit v1.2.3