diff options
author | David Fioramonti | 2018-06-24 09:26:58 -0700 |
---|---|---|
committer | Bastien Bouclet | 2018-07-15 07:32:47 +0200 |
commit | b1aec443c42e29b156f460f6a77f2356cb38176f (patch) | |
tree | 255604bb18494f515fe073c0a45bcb50af6887b3 /engines/avalanche/nim.cpp | |
parent | 7b817e2f3bba959417177439acf246c5200e7924 (diff) | |
download | scummvm-rg350-b1aec443c42e29b156f460f6a77f2356cb38176f.tar.gz scummvm-rg350-b1aec443c42e29b156f460f6a77f2356cb38176f.tar.bz2 scummvm-rg350-b1aec443c42e29b156f460f6a77f2356cb38176f.zip |
MOHAWK: MYST: Don't set Mech direction when elevator button is pressed
The direction that the fortress is pointing is calculated when
the user locks on using the left throttle (after the gears have
stopped). It also happens when the user hits the button.
There is only a difference in the two behaviors when the user has
changed the direction, but not locked on.
The 2nd case can lead to the direction be different than
what the last locked on direction was. Since the user
can lock the direction to say north, turn it to west, not
lock on and hit the button, which will set the direction
to west. This can lead to confusion since a direction sound
isn't played in this case.
This change removes code, to prevent the recalculation
of the direction when the button is pressed so that direction
is always what it was last locked onto.
Diffstat (limited to 'engines/avalanche/nim.cpp')
0 files changed, 0 insertions, 0 deletions