mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 00:27:31 +00:00
![Adrian Astley](/assets/img/avatar_default.png)
Before, if we set the in-game preferences to have very low rotation speed, the velocity ends up always being 0 - 0.99 Hence, when we convert back to an int, everything gets truncated to zero. Therefore, we clamp, in order to ensure the user can always move, no matter which setting they use.