diff options
author | David Fioramonti | 2017-08-20 19:43:40 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-20 20:25:31 -0700 |
commit | 2a96a6fc7288a33a3726191338308af3581c9883 (patch) | |
tree | a43fac1a90a17bcf5973da6b3c557e376c57260d /engines/titanic/game/nav_helmet_on.cpp | |
parent | ffbfdac87ed43535091f5273eea3dd9e8ec6d979 (diff) | |
download | scummvm-rg350-2a96a6fc7288a33a3726191338308af3581c9883.tar.gz scummvm-rg350-2a96a6fc7288a33a3726191338308af3581c9883.tar.bz2 scummvm-rg350-2a96a6fc7288a33a3726191338308af3581c9883.zip |
TITANIC: Prevent 2 star locking for large distances
I have added a conditional to the code so that if the player
tries to lock onto the 2nd star and they are very far away, >1e8,
then the game will not allow the star to be locked.
This is a temporary workaround since if a distance of farther
then this is attempted then the view will be throw way off
and the stars will not be shown locking onto correctly.
I've also made the locking functions return booleans so I can
determine the success of the lockings.
This is a partial fix for #9961.
Diffstat (limited to 'engines/titanic/game/nav_helmet_on.cpp')
0 files changed, 0 insertions, 0 deletions