diff options
author | David Fioramonti | 2017-08-19 08:25:32 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-19 08:36:02 -0700 |
commit | 312d63c3c951ed3781c4f7a1577b62cb862042b3 (patch) | |
tree | 39972816ae710d5ea77e03574fd7646f85cba4fe /engines/sky/intro.h | |
parent | 24bec379d5f1d59dfac2ff304b8ccbc64f5ae5b2 (diff) | |
download | scummvm-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/sky/intro.h')
0 files changed, 0 insertions, 0 deletions