mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
MOHAWK: Remove broken LB anim items stopSound calls.
svn-id: r55707
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user