From 077f0b24912688b53adb24757a2a87ce52175ae9 Mon Sep 17 00:00:00 2001 From: RichieSams Date: Sun, 8 Sep 2013 15:15:55 -0500 Subject: ZVISION: Update LeverControl to use the new RlfAnimation outputs --- engines/zvision/lever_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp index 318710e627..93a6054850 100644 --- a/engines/zvision/lever_control.cpp +++ b/engines/zvision/lever_control.cpp @@ -383,7 +383,7 @@ void LeverControl::renderFrame(uint frameNumber) { if (_fileType == RLF) { // getFrameData() will automatically optimize to getNextFrame() / getPreviousFrame() if it can - frameData = _animation.rlf->getFrameData(frameNumber); + frameData = (const uint16 *)_animation.rlf->getFrameData(frameNumber)->getPixels(); width = _animation.rlf->width(); // Use the animation width instead of _animationCoords.width() height = _animation.rlf->height(); // Use the animation height instead of _animationCoords.height() } else if (_fileType == AVI) { -- cgit v1.2.3