aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/animation_control.cpp
diff options
context:
space:
mode:
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();