aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2011-12-28 23:31:21 +0100
committerathrxx2011-12-29 19:12:35 +0100
commitb4baac065df70999ed08017c89166f0fbe6164ea (patch)
tree9cabf4be2ce555378bd4ec1f273f41fd2a692f7d
parentd0be9c0a583860058a5f7212d62a8c9a086329d5 (diff)
downloadscummvm-rg350-b4baac065df70999ed08017c89166f0fbe6164ea.tar.gz
scummvm-rg350-b4baac065df70999ed08017c89166f0fbe6164ea.tar.bz2
scummvm-rg350-b4baac065df70999ed08017c89166f0fbe6164ea.zip
KYRA: (EOB) - fix EOB 1 intro sound bug
-rw-r--r--engines/kyra/sequences_eob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/sequences_eob.cpp b/engines/kyra/sequences_eob.cpp
index 4b094f4e9c..dc479a8c30 100644
--- a/engines/kyra/sequences_eob.cpp
+++ b/engines/kyra/sequences_eob.cpp
@@ -498,12 +498,12 @@ void EoBEngine::seq_king() {
_screen->copyRegion(0, dy[i] - 2, (advEncX[i] + 8) << 3, dy[i] - 2, advEncW[i] << 3, 182 - dy[i], 4, 0, Screen::CR_NO_P_CHECK);
}
- if (_rnd.getRandomNumber(255) & 3)
- _sound->playTrack(7);
-
runloop = true;
}
+ if (!(_rnd.getRandomNumber(255) & 3))
+ _sound->playTrack(7);
+
_screen->updateScreen();
delayUntil(end);
}