[Scummvm-cvs-logs] SF.net SVN: scummvm:[55707] scummvm/trunk/engines/mohawk/livingbooks.cpp

fuzzie at users.sourceforge.net fuzzie at users.sourceforge.net
Tue Feb 1 14:39:24 CET 2011


Revision: 55707
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55707&view=rev
Author:   fuzzie
Date:     2011-02-01 13:39:24 +0000 (Tue, 01 Feb 2011)

Log Message:
-----------
MOHAWK: Remove broken LB anim items stopSound calls.

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/livingbooks.cpp

Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp	2011-02-01 12:57:34 UTC (rev 55706)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp	2011-02-01 13:39:24 UTC (rev 55707)
@@ -3272,10 +3272,6 @@
 }
 
 LBAnimationItem::~LBAnimationItem() {
-	// TODO: handle this properly
-	if (_running)
-		_vm->_sound->stopSound();
-
 	delete _anim;
 }
 
@@ -3286,9 +3282,6 @@
 		else if (!_neverEnabled && !enabled && _enabled && _globalEnabled)
 			if (_running) {
 				_anim->stop();
-
-				// TODO: handle this properly
-				_vm->_sound->stopSound();
 			}
 	}
 
@@ -3342,9 +3335,6 @@
 		seek(0xFFFF);
 	}
 
-	// TODO: handle this properly
-	_vm->_sound->stopSound();
-
 	_running = false;
 
 	LBItem::stop();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list