[Scummvm-cvs-logs] CVS: residual/imuse imuse_track.cpp,1.15,1.16

Erich Edgar Hoover compholio at users.sourceforge.net
Tue Jul 26 22:35:02 CEST 2005


Update of /cvsroot/scummvm/residual/imuse
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29138/imuse

Modified Files:
	imuse_track.cpp 
Log Message:
Fixed TurnActorTo/PointActorAt issue with pigeons - slight change when failing to load sounds to prevent crashing

Index: imuse_track.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/imuse/imuse_track.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- imuse_track.cpp	26 Jul 2005 01:46:53 -0000	1.15
+++ imuse_track.cpp	27 Jul 2005 05:33:40 -0000	1.16
@@ -97,6 +97,7 @@
 	if (i == 0) {
 		if (debugLevel == DEBUG_IMUSE || debugLevel == DEBUG_WARN || debugLevel == DEBUG_ALL)
 			warning("Imuse::startSound(): flushTracks was unable to free up a track for %s!", soundName);
+		return false;
 	}
 
 	track->pan = pan * 1000;





More information about the Scummvm-git-logs mailing list