aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/animation_control.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2013-11-07 17:06:25 +0700
committerMarisa-Chan2013-11-07 17:06:25 +0700
commit7bd57a9ad6bfa551ce2fb605b71fa78e38c5fe88 (patch)
tree6e8c0542fd8378c3aca7933261b73801031b66f8 /engines/zvision/animation_control.cpp
parentb635fab6e663b0fac154d4fa75d221db4aabb1f5 (diff)
downloadscummvm-rg350-7bd57a9ad6bfa551ce2fb605b71fa78e38c5fe88.tar.gz
scummvm-rg350-7bd57a9ad6bfa551ce2fb605b71fa78e38c5fe88.tar.bz2
scummvm-rg350-7bd57a9ad6bfa551ce2fb605b71fa78e38c5fe88.zip
ZVISION: Make rlf animation logic equivalent to video decoder methods.
Diffstat (limited to 'engines/zvision/animation_control.cpp')
-rw-r--r--engines/zvision/animation_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/animation_control.cpp b/engines/zvision/animation_control.cpp
index 3f9a2e9cc7..5b35a4a468 100644
--- a/engines/zvision/animation_control.cpp
+++ b/engines/zvision/animation_control.cpp
@@ -94,7 +94,7 @@ bool AnimationControl::process(uint32 deltaTimeInMillis) {
return false;
}
- const Graphics::Surface *frame = _animation.rlf->getNextFrame();
+ const Graphics::Surface *frame = _animation.rlf->decodeNextFrame();
// Animation frames for PANORAMAs are transposed, so un-transpose them
RenderTable::RenderState state = renderManager->getRenderTable()->getRenderState();