aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/camera_auto_mover.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2017-08-19 08:25:32 -0700
committerDavid Fioramonti2017-08-19 08:36:02 -0700
commit312d63c3c951ed3781c4f7a1577b62cb862042b3 (patch)
tree39972816ae710d5ea77e03574fd7646f85cba4fe /engines/titanic/star_control/camera_auto_mover.cpp
parent24bec379d5f1d59dfac2ff304b8ccbc64f5ae5b2 (diff)
downloadscummvm-rg350-312d63c3c951ed3781c4f7a1577b62cb862042b3.tar.gz
scummvm-rg350-312d63c3c951ed3781c4f7a1577b62cb862042b3.tar.bz2
scummvm-rg350-312d63c3c951ed3781c4f7a1577b62cb862042b3.zip
TITANIC: Prevent moving for locking stars when onto of star
Originally, if you unlocked a star when you had 2 or 3 stars locked and then relocked without changing views then the game crashed. This was because it was trying to transition a distance of zero and this failed an assert (to normalize the length to be the distance). The transition is no longer done so the crash does not happen. Fixes #10147.
Diffstat (limited to 'engines/titanic/star_control/camera_auto_mover.cpp')
0 files changed, 0 insertions, 0 deletions