aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/coktelvideo.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-08-14 00:42:32 +0000
committerSven Hesse2007-08-14 00:42:32 +0000
commite7e26ad7679adde7d9749aa583ee63a432ec1e60 (patch)
tree04cb3d025bbc03a149bf15b86bd858a852cb9b96 /engines/gob/coktelvideo.cpp
parent3c43ebd49f08c5d41aca61576d1a08e2957c9eb6 (diff)
downloadscummvm-rg350-e7e26ad7679adde7d9749aa583ee63a432ec1e60.tar.gz
scummvm-rg350-e7e26ad7679adde7d9749aa583ee63a432ec1e60.tar.bz2
scummvm-rg350-e7e26ad7679adde7d9749aa583ee63a432ec1e60.zip
The talking videos work a bit better now. The sync and coordinates are still screwy
svn-id: r28604
Diffstat (limited to 'engines/gob/coktelvideo.cpp')
-rw-r--r--engines/gob/coktelvideo.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp
index 882422dd84..e8a63a6fe7 100644
--- a/engines/gob/coktelvideo.cpp
+++ b/engines/gob/coktelvideo.cpp
@@ -1068,9 +1068,13 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) {
// Next sound slice data
if (part.flags == 1) {
- if (_soundEnabled)
+ if (_soundEnabled) {
filledSoundSlice(part.size);
- else
+
+ if (_soundStage == 1)
+ startSound = true;
+
+ } else
_stream->skip(part.size);
// Initial sound data (all slices)