aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/util.cpp')
-rw-r--r--engines/gob/util.cpp2
1 files changed, 1 insertions, 1 deletions
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;