aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 3459cd8f08..852a42b0af 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -1240,7 +1240,6 @@ void LBAnimation::loadShape(uint16 resourceId) {
delete shapeStream;
}
-
void LBAnimation::draw() {
for (uint32 i = 0; i < _nodes.size(); i++)
_nodes[i]->draw(_bounds);
@@ -1291,7 +1290,9 @@ void LBAnimation::start() {
}
void LBAnimation::seek(uint16 pos) {
- start();
+ _lastTime = 0;
+ _currentFrame = 0;
+ _done = false;
for (uint32 i = 0; i < _nodes.size(); i++)
_nodes[i]->reset();