mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
MOHAWK: Make rocketSliderGetSound easier to understand
This commit is contained in:
parent
cfdb22b95c
commit
ff7bd63238
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user