aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorRichieSams2013-09-08 15:15:55 -0500
committerRichieSams2013-09-09 11:16:43 -0500
commit077f0b24912688b53adb24757a2a87ce52175ae9 (patch)
tree166015ca85519e3661fdd551011073c16e3e9a17 /engines/zvision
parent8354f236285bfd55536a19b177a4fcfbdd0aaa1b (diff)
downloadscummvm-rg350-077f0b24912688b53adb24757a2a87ce52175ae9.tar.gz
scummvm-rg350-077f0b24912688b53adb24757a2a87ce52175ae9.tar.bz2
scummvm-rg350-077f0b24912688b53adb24757a2a87ce52175ae9.zip
ZVISION: Update LeverControl to use the new RlfAnimation outputs
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/lever_control.cpp2
1 files changed, 1 insertions, 1 deletions
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) {