diff options
Diffstat (limited to 'engines/voyeur/animation.cpp')
-rw-r--r-- | engines/voyeur/animation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp index 86ab7001d9..be6148c351 100644 --- a/engines/voyeur/animation.cpp +++ b/engines/voyeur/animation.cpp @@ -471,7 +471,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset, if (hasDirtyPalette()) { const byte *palette = getPalette(); - vm->_graphicsManager.setPalette128(palette, paletteStart, paletteCount); + vm->_graphicsManager->setPalette128(palette, paletteStart, paletteCount); } if (needsUpdate()) { @@ -483,7 +483,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset, Common::Point pt(READ_LE_UINT16(imgPos + 4 * picCtr) - 32, READ_LE_UINT16(imgPos + 4 * picCtr + 2) - 20); - vm->_graphicsManager.sDrawPic(newPic, &videoFrame, pt); + vm->_graphicsManager->sDrawPic(newPic, &videoFrame, pt); ++picCtr; } } @@ -491,7 +491,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset, // Decode the next frame and display const Graphics::Surface *frame = decodeNextFrame(); Common::copy((const byte *)frame->getPixels(), (const byte *)frame->getPixels() + 320 * 200, - (byte *)vm->_graphicsManager._screenSurface.getPixels()); + (byte *)vm->_graphicsManager->_screenSurface.getPixels()); } vm->_eventsManager->getMouseInfo(); |