aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_lol.cpp')
-rw-r--r--engines/kyra/script_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp
index 109621f2a0..a606419722 100644
--- a/engines/kyra/script_lol.cpp
+++ b/engines/kyra/script_lol.cpp
@@ -2105,7 +2105,7 @@ int LoLEngine::olol_paletteFlash(EMCState *script) {
Palette &p2 = _screen->getPalette(3);
uint8 ovl[256];
- generateFlashPalette(p1.getData(), p2.getData(), stackPos(0));
+ generateFlashPalette(p1, p2, stackPos(0));
_screen->loadSpecialColors(p1);
_screen->loadSpecialColors(p2);