diff options
author | Adrian Astley | 2014-12-23 00:38:44 -0600 |
---|---|---|
committer | Adrian Astley | 2014-12-23 00:39:25 -0600 |
commit | 40bd4c485f9ab24e667e66a047214eb7dcef73e8 (patch) | |
tree | 967b67fe0b99d225c00e325b1b440b765c24a7e5 /engines/zvision/scripting/controls/paint_control.cpp | |
parent | 6548300a4182e1dc805b390678df800b05d07554 (diff) | |
download | scummvm-rg350-40bd4c485f9ab24e667e66a047214eb7dcef73e8.tar.gz scummvm-rg350-40bd4c485f9ab24e667e66a047214eb7dcef73e8.tar.bz2 scummvm-rg350-40bd4c485f9ab24e667e66a047214eb7dcef73e8.zip |
ZVISION: Clamp the rotation velocity to never be zero
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.
Diffstat (limited to 'engines/zvision/scripting/controls/paint_control.cpp')
0 files changed, 0 insertions, 0 deletions