[Scummvm-cvs-logs] CVS: scummvm/sword1 logic.cpp,1.27,1.28
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Thu Jan 1 09:11:01 CET 2004
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv32584/sword1
Modified Files:
logic.cpp
Log Message:
added workaround for missing music file.
Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/logic.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- logic.cpp 30 Dec 2003 21:32:49 -0000 1.27
+++ logic.cpp 1 Jan 2004 17:10:08 -0000 1.28
@@ -1519,6 +1519,8 @@
}
int SwordLogic::fnPlayMusic(BsObject *cpt, int32 id, int32 tuneId, int32 loopFlag, int32 c, int32 d, int32 z, int32 x) {
+ if (tuneId == 153)
+ return ;
if (loopFlag == LOOPED)
_scriptVars[CURRENT_MUSIC] = tuneId; // so it gets restarted when saving & reloading
else
More information about the Scummvm-git-logs
mailing list