aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-11-03 17:54:02 -0400
committerMatthew Hoops2011-11-03 17:57:02 -0400
commitff7bd63238600e0bbb2e9f1ff2b96e940e1262a9 (patch)
treee7420624678886df21d0a11cca4f31314d6d6929 /engines
parentcfdb22b95c5f48565267cc975d50a08c51a4474d (diff)
downloadscummvm-rg350-ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9.tar.gz
scummvm-rg350-ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9.tar.bz2
scummvm-rg350-ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9.zip
MOHAWK: Make rocketSliderGetSound easier to understand
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/myst_stacks/myst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index b67b333a85..b6c0a3212f 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -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() {