aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/livingbooks.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 85fbc79b4a..a3127595b3 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -3272,10 +3272,6 @@ LBAnimationItem::LBAnimationItem(MohawkEngine_LivingBooks *vm, Common::Rect rect
}
LBAnimationItem::~LBAnimationItem() {
- // TODO: handle this properly
- if (_running)
- _vm->_sound->stopSound();
-
delete _anim;
}
@@ -3286,9 +3282,6 @@ void LBAnimationItem::setEnabled(bool enabled) {
else if (!_neverEnabled && !enabled && _enabled && _globalEnabled)
if (_running) {
_anim->stop();
-
- // TODO: handle this properly
- _vm->_sound->stopSound();
}
}
@@ -3342,9 +3335,6 @@ void LBAnimationItem::stop() {
seek(0xFFFF);
}
- // TODO: handle this properly
- _vm->_sound->stopSound();
-
_running = false;
LBItem::stop();