diff options
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r-- | engines/kyra/lol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 216fad9122..4ac8a43ae0 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -785,8 +785,8 @@ void LoLEngine::startup() { memset(_screen->getPalette(0).getData(), 0x3f, 0x180); _screen->getPalette(0).copy(tmpPal, 1, 1); memset(_screen->getPalette(0).getData() + 0x240, 0x3f, 12); - _screen->generateOverlay(_screen->getPalette(0).getData(), _screen->_paletteOverlay1, 1, 96); - _screen->generateOverlay(_screen->getPalette(0).getData(), _screen->_paletteOverlay2, 144, 65); + _screen->generateOverlay(_screen->getPalette(0), _screen->_paletteOverlay1, 1, 96); + _screen->generateOverlay(_screen->getPalette(0), _screen->_paletteOverlay2, 144, 65); _screen->getPalette(0).copy(tmpPal, 0, 256); delete[] tmpPal; |