aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_still.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/actions/action_still.cpp')
-rw-r--r--engines/pink/objects/actions/action_still.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/pink/objects/actions/action_still.cpp b/engines/pink/objects/actions/action_still.cpp
index c49e52ae1d..442fe85330 100644
--- a/engines/pink/objects/actions/action_still.cpp
+++ b/engines/pink/objects/actions/action_still.cpp
@@ -45,7 +45,9 @@ void ActionStill::end() {
void ActionStill::onStart() {
debug("Actor %s has now ActionStill %s", _actor->getName().c_str(), _name.c_str());
- _decoder->seekToFrame(_startFrame);
+ for (int i = 0; i < _startFrame; ++i) {
+ _decoder->decodeNextFrame();
+ }
}
} // End of namespace Pink \ No newline at end of file