aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/woodscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/woodscript.cpp')
-rw-r--r--engines/m4/woodscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/woodscript.cpp b/engines/m4/woodscript.cpp
index 4928e0af8d..f45e8fa8a2 100644
--- a/engines/m4/woodscript.cpp
+++ b/engines/m4/woodscript.cpp
@@ -322,7 +322,7 @@ void WoodScript::update() {
{
// FIXME: This should be done when a new palette is set
byte palette[1024];
- g_system->grabPalette(palette, 0, 256);
+ g_system->getPaletteManager()->grabPalette(palette, 0, 256);
for (int i = 0; i < 256; i++) {
_mainPalette[i].r = palette[i * 4 + 0];
_mainPalette[i].g = palette[i * 4 + 1];