aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorAlyssa Milburn2010-11-29 23:19:43 +0000
committerAlyssa Milburn2010-11-29 23:19:43 +0000
commit12c84f21a3fac01248952a09e8c4b06d4bd56cb6 (patch)
tree7b9f3cbe93e952e821b2851c239985b439d18013 /engines/mohawk
parent59604fa014dfa62f60444aa2c4fcdee7deaf9e77 (diff)
downloadscummvm-rg350-12c84f21a3fac01248952a09e8c4b06d4bd56cb6.tar.gz
scummvm-rg350-12c84f21a3fac01248952a09e8c4b06d4bd56cb6.tar.bz2
scummvm-rg350-12c84f21a3fac01248952a09e8c4b06d4bd56cb6.zip
MOHAWK: don't start animations in LBAnimation::seek
svn-id: r54655
Diffstat (limited to 'engines/mohawk')
-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();