aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2019-11-03 21:54:13 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit138d364e24a9b5d380e75645374c5b703b0b69c8 (patch)
tree59035a9a0f926f7cfb7deade5d78bc0950230bab /engines
parent0bc9ee6389e1c2d1f51f81dd7f3301ef5ed097bf (diff)
downloadscummvm-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')
-rw-r--r--engines/griffon/cutscenes.cpp8
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;
}