From e358b13ef96e15fc1788841633eb09b1f739cc90 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 19 May 2009 19:56:53 +0000 Subject: Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand svn-id: r40730 --- engines/sword1/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword1/animation.cpp') diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 032eb15fb9..c97d04d1d9 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -244,7 +244,7 @@ int32 DXADecoderWithSound::getAudioLag() { int32 videoTime = _videoInfo.currentFrame * frameDelay; int32 audioTime; - audioTime = (((int32) _mixer->getSoundElapsedTime(*_bgSoundHandle)) * 100); + audioTime = (int32) _mixer->getSoundElapsedTime(*_bgSoundHandle); return videoTime - audioTime; } -- cgit v1.2.3