Skip to content

Commit

Permalink
MOHAWK: Make rocketSliderGetSound easier to understand
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Nov 3, 2011
1 parent cfdb22b commit ff7bd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mohawk/myst_stacks/myst.cpp
Expand Up @@ -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() {
Expand Down

0 comments on commit ff7bd63

Please sign in to comment.