MOHAWK: Make rocketSliderGetSound easier to understand

This commit is contained in:
Matthew Hoops 2011-11-03 17:54:02 -04:00
parent cfdb22b95c
commit ff7bd63238

View File

@ -2138,7 +2138,7 @@ void Myst::rocketSliderMove() {
}
uint16 Myst::rocketSliderGetSound(uint16 pos) {
return (uint16)(9530 + (pos - 216) * 35.0 * 0.01639344262295082);
return (uint16)(9530 + (pos - 216) * 35.0 / 61.0);
}
void Myst::rocketCheckSolution() {