aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2011-01-09 18:26:51 +0000
committerAlyssa Milburn2011-01-09 18:26:51 +0000
commit2b7acd6919d6c6321bf170a101c1e51647f9fd6e (patch)
tree4be99c0aa42328dfd104d87ed21f274ede0ae273
parentbbd2cd460f716379d96c9fcf18031071586d3f49 (diff)
downloadscummvm-rg350-2b7acd6919d6c6321bf170a101c1e51647f9fd6e.tar.gz
scummvm-rg350-2b7acd6919d6c6321bf170a101c1e51647f9fd6e.tar.bz2
scummvm-rg350-2b7acd6919d6c6321bf170a101c1e51647f9fd6e.zip
MOHAWK: Always restart anims on kLBOpTogglePlay.
This may not be the right place for this, but for now it fixes several bugs where animations didn't play after they'd already been played once. svn-id: r55191
-rw-r--r--engines/mohawk/livingbooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index fbdccb5d70..880e551199 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2293,7 +2293,7 @@ void LBItem::runScriptEntry(LBScriptEntry *entry) {
break;
case kLBOpTogglePlay:
- target->togglePlaying(false);
+ target->togglePlaying(false, true);
break;
case kLBOpSetNotVisible: