SCI: Fix sound object frame selector rate

Thanks waltervn. Verified against asm (QfG2, KQ6CD)
This commit is contained in:
Willem Jan Palenstijn 2015-02-15 14:14:46 +01:00
parent d0cb5f51fd
commit 2b49b5f95e

View File

@ -550,7 +550,7 @@ void SoundCommandParser::processUpdateCues(reg_t obj) {
if (_soundVersion >= SCI_VERSION_1_EARLY) {
writeSelectorValue(_segMan, obj, SELECTOR(min), musicSlot->ticker / 3600);
writeSelectorValue(_segMan, obj, SELECTOR(sec), musicSlot->ticker % 3600 / 60);
writeSelectorValue(_segMan, obj, SELECTOR(frame), musicSlot->ticker);
writeSelectorValue(_segMan, obj, SELECTOR(frame), musicSlot->ticker % 60 / 2);
}
}