From 20eb2fca5761c32fc73db115a61dff50e253a684 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 14 Aug 2007 01:57:44 +0000 Subject: Making it work again for 16bit VMDs svn-id: r28606 --- engines/gob/coktelvideo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp index f4fa52481c..b3056a5ea3 100644 --- a/engines/gob/coktelvideo.cpp +++ b/engines/gob/coktelvideo.cpp @@ -1094,7 +1094,7 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) { } else if (part.flags == 3) { if (_soundEnabled) { - emptySoundSlice(_soundSliceSize); + emptySoundSlice(_soundSliceSize * _soundBytesPerSample); if (_soundStage == 1) startSound = true; -- cgit v1.2.3