diff options
author | Nicolas Bacca | 2004-01-17 11:15:38 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-01-17 11:15:38 +0000 |
commit | 051d5fe2d84523b7880ac1f68c778595aa67ed04 (patch) | |
tree | 534dd64c495850c82e40f4ae85af72f380710351 /sword2 | |
parent | 351502d37ae945a3eab2d0c1f40aad7b09ea82e9 (diff) | |
download | scummvm-rg350-051d5fe2d84523b7880ac1f68c778595aa67ed04.tar.gz scummvm-rg350-051d5fe2d84523b7880ac1f68c778595aa67ed04.tar.bz2 scummvm-rg350-051d5fe2d84523b7880ac1f68c778595aa67ed04.zip |
Yet Another EVC fix
svn-id: r12452
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 83da75a184..f74b2b6941 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -614,7 +614,7 @@ int32 Logic::fnPlayCredits(int32 *params) { // 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; |