[Scummvm-cvs-logs] CVS: scummvm/sword2 function.cpp,1.54,1.55
Nicolas Bacca
arisme at users.sourceforge.net
Sat Jan 17 03:16:01 CET 2004
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv18191
Modified Files:
function.cpp
Log Message:
Yet Another EVC fix
Index: function.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/function.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- function.cpp 12 Jan 2004 19:08:04 -0000 1.54
+++ function.cpp 17 Jan 2004 11:15:38 -0000 1.55
@@ -614,7 +614,7 @@
// credits. Note that musicTimeRemaining() will return 0 if the music
// is muted, so we need a sensible fallback for that case.
- uint32 musicLength = MAX(1000 * (_vm->_sound->musicTimeRemaining() - 3), 25 * (int32)scrollSteps);
+ uint32 musicLength = MAX((int32)(1000 * (_vm->_sound->musicTimeRemaining() - 3)), 25 * (int32)scrollSteps);
while (scrollPos < scrollSteps && !_vm->_quit) {
bool foundStartLine = false;
More information about the Scummvm-git-logs
mailing list