diff options
-rw-r--r-- | engines/mohawk/myst_stacks/myst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp index d14152c710..a1abd5b820 100644 --- a/engines/mohawk/myst_stacks/myst.cpp +++ b/engines/mohawk/myst_stacks/myst.cpp @@ -924,7 +924,7 @@ void MystScriptParser_Myst::rocketSliderMove() { } uint16 MystScriptParser_Myst::rocketSliderGetSound(uint16 pos) { - return 9530 + (pos - 216) * 35.0 * 0.01639344262295082; + return (uint16)(9530 + (pos - 216) * 35.0 * 0.01639344262295082); } void MystScriptParser_Myst::rocketCheckSolution() { |