From 4ea38d3f33bb3ce87fd2d7be7c0d9e0edace7cae Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Tue, 1 Feb 2011 13:39:24 +0000 Subject: MOHAWK: Remove broken LB anim items stopSound calls. svn-id: r55707 --- engines/mohawk/livingbooks.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'engines/mohawk') 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(); -- cgit v1.2.3