[Scummvm-cvs-logs] scummvm master -> 36526ef954bfd105c8a3dd143a0e68e3fb9cb6b9

dreammaster dreammaster at scummvm.org
Tue Jun 21 14:44:18 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
36526ef954 TSAGE: Bugfix for properly stopping playing sounds


Commit: 36526ef954bfd105c8a3dd143a0e68e3fb9cb6b9
    https://github.com/scummvm/scummvm/commit/36526ef954bfd105c8a3dd143a0e68e3fb9cb6b9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-06-21T05:42:20-07:00

Commit Message:
TSAGE: Bugfix for properly stopping playing sounds

Changed paths:
    engines/tsage/sound.cpp



diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index c2e5ba7..2ecd889 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -1416,6 +1416,7 @@ void Sound::play(int soundNum) {
 }
 
 void Sound::stop() {
+	_globals->_soundManager.removeFromPlayList(this);
 	_unPrime();
 }
 
@@ -2252,6 +2253,7 @@ void ASound::synchronize(Serializer &s) {
 
 	SYNC_POINTER(_action);
 	s.syncAsByte(_cueValue);
+
 }
 
 void ASound::dispatch() {






More information about the Scummvm-git-logs mailing list