MOHAWK: Silence a warning

svn-id: r54779
This commit is contained in:
Matthew Hoops
2010-12-05 17:23:57 +00:00
parent f84b027e50
commit 669ad3d217
+1 -1
View File
@@ -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() {