Ooops, used wrong one.

svn-id: r10653
This commit is contained in:
Travis Howell 2003-10-07 03:58:29 +00:00
parent dacd8ce4d1
commit 5c64695367

View File

@ -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;