MOHAWK: Remove broken LB anim items stopSound calls.

svn-id: r55707
This commit is contained in:
Alyssa Milburn
2011-02-01 13:39:24 +00:00
parent 4d094feb3a
commit 4ea38d3f33
-10
View File
@@ -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();