[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.108,1.109
Max Horn
fingolfin at users.sourceforge.net
Sat May 3 05:29:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20755
Modified Files:
sound.cpp
Log Message:
fix for my hack :-)
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- sound.cpp 3 May 2003 11:42:25 -0000 1.108
+++ sound.cpp 3 May 2003 12:28:37 -0000 1.109
@@ -432,8 +432,9 @@
// in these games, only music. Once we add SFX support, we'll have to
// revise it / replace it by a proper fix.
static int lastSound = -1;
- if (lastSound > 0 && ptr) {
- stopSound(lastSound);
+ if (ptr) {
+ if (lastSound > 0)
+ stopSound(lastSound);
lastSound = soundID;
}
}
More information about the Scummvm-git-logs
mailing list