diff options
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index 6253d962b8..a1bda0cc38 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -3479,12 +3479,10 @@ LBAnimationItem::~LBAnimationItem() { void LBAnimationItem::setEnabled(bool enabled) { if (_running) { - if (enabled && _neverEnabled) + if (enabled && _globalEnabled && _neverEnabled) _anim->start(); else if (!_neverEnabled && !enabled && _enabled && _globalEnabled) - if (_running) { - _anim->stop(); - } + _anim->stop(); } return LBItem::setEnabled(enabled); |