[Scummvm-cvs-logs] scummvm master -> ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9
clone2727
clone2727 at gmail.com
Thu Nov 3 22:57:36 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ff7bd63238 MOHAWK: Make rocketSliderGetSound easier to understand
Commit: ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9
https://github.com/scummvm/scummvm/commit/ff7bd63238600e0bbb2e9f1ff2b96e940e1262a9
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-11-03T14:57:02-07:00
Commit Message:
MOHAWK: Make rocketSliderGetSound easier to understand
Changed paths:
engines/mohawk/myst_stacks/myst.cpp
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index b67b333..b6c0a32 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() {
More information about the Scummvm-git-logs
mailing list