diff options
author | Strangerke | 2019-11-03 21:54:13 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-13 22:07:08 +0100 |
commit | 138d364e24a9b5d380e75645374c5b703b0b69c8 (patch) | |
tree | 59035a9a0f926f7cfb7deade5d78bc0950230bab /engines/griffon/cutscenes.cpp | |
parent | 0bc9ee6389e1c2d1f51f81dd7f3301ef5ed097bf (diff) | |
download | scummvm-rg350-138d364e24a9b5d380e75645374c5b703b0b69c8.tar.gz scummvm-rg350-138d364e24a9b5d380e75645374c5b703b0b69c8.tar.bz2 scummvm-rg350-138d364e24a9b5d380e75645374c5b703b0b69c8.zip |
GRIFFON: Fix a bug introduced in the original C conversion
Diffstat (limited to 'engines/griffon/cutscenes.cpp')
-rw-r--r-- | engines/griffon/cutscenes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/griffon/cutscenes.cpp b/engines/griffon/cutscenes.cpp index 2ffa333c3d..4936460264 100644 --- a/engines/griffon/cutscenes.cpp +++ b/engines/griffon/cutscenes.cpp @@ -188,7 +188,7 @@ void GriffonEngine::intro() { _secsingame = 0; _secStart = 0; - bool ldstop = false; + bool ldStop = false; int cnt = 0; float xofs = 0.0; float ld = 0.0; @@ -198,10 +198,10 @@ void GriffonEngine::intro() { ld += 4 * _fpsr; if ((int)ld > config.musicVol) ld = config.musicVol; - if (!ldstop) { + if (!ldStop) { setChannelVolume(_musicChannel, (int)ld); if ((int)ld == config.musicVol) - ldstop = true; + ldStop = true; } rc.left = -xofs; @@ -226,7 +226,7 @@ void GriffonEngine::intro() { drawString(_videoBuffer, story[i], x, yy, 4); } - if (yy < 10 && i == 47) + if (yy < 10 && i == 37) return; } |