aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorAlyssa Milburn2011-02-01 13:39:24 +0000
committerAlyssa Milburn2011-02-01 13:39:24 +0000
commit4ea38d3f33bb3ce87fd2d7be7c0d9e0edace7cae (patch)
tree8669a1e4cfacd74f07df2a20d774c773a9668c1f /engines/mohawk
parent4d094feb3a4b98d8e82cf8b613ef49b1db99af1b (diff)
downloadscummvm-rg350-4ea38d3f33bb3ce87fd2d7be7c0d9e0edace7cae.tar.gz
scummvm-rg350-4ea38d3f33bb3ce87fd2d7be7c0d9e0edace7cae.tar.bz2
scummvm-rg350-4ea38d3f33bb3ce87fd2d7be7c0d9e0edace7cae.zip
MOHAWK: Remove broken LB anim items stopSound calls.
svn-id: r55707
Diffstat (limited to 'engines/mohawk')
-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();