From 5c6469536762483eb149724802381cf362c81e1a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 7 Oct 2003 03:58:29 +0000 Subject: [PATCH] Ooops, used wrong one. svn-id: r10653 --- scumm/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 7000af65940..d376641812b 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -350,7 +350,7 @@ void Sound::playSound(int soundID) { int loopStart = READ_LE_UINT32(ptr + 0x10); int loopEnd = READ_LE_UINT32(ptr + 0x14); // it's not exactly * 10, maybe it's not even linear, but * 10 sounds ok. - rate = READ_LE_UINT32(ptr + 0x18) * 10.2; + rate = READ_LE_UINT32(ptr + 0x18) * 1000 / 0x62; ptr += 0x20; size -= 0x20;