diff options
author | Paul Gilbert | 2017-04-15 21:24:56 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-15 21:24:56 -0400 |
commit | d128587e99d93e55cf9de9da771f1f775d27ad18 (patch) | |
tree | 7d44567b26ca5f35fc84ae14a7790f91d858737c /engines | |
parent | 12fa59697ecc0ca4c26ed458122b5818e56b40bd (diff) | |
download | scummvm-rg350-d128587e99d93e55cf9de9da771f1f775d27ad18.tar.gz scummvm-rg350-d128587e99d93e55cf9de9da771f1f775d27ad18.tar.bz2 scummvm-rg350-d128587e99d93e55cf9de9da771f1f775d27ad18.zip |
TITANIC: Movement starting to work when star is clicked
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_control_sub24.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/star_control/star_control_sub27.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/star_control/star_control_sub24.cpp b/engines/titanic/star_control/star_control_sub24.cpp index 2c7a66361f..dc6e79ccb6 100644 --- a/engines/titanic/star_control/star_control_sub24.cpp +++ b/engines/titanic/star_control/star_control_sub24.cpp @@ -87,7 +87,8 @@ int CStarControlSub24::proc5(CErrorCode &errorCode, FVector &v, FMatrix &m) { return 0; if (_field58 < 1.0) { - _sub25.fn2(_field60 + _field58, m); + _field58 += _field60; + _sub25.fn2(_field58, m); errorCode.set(); return 1; } diff --git a/engines/titanic/star_control/star_control_sub27.cpp b/engines/titanic/star_control/star_control_sub27.cpp index 1edf9e1182..783f6a3409 100644 --- a/engines/titanic/star_control/star_control_sub27.cpp +++ b/engines/titanic/star_control/star_control_sub27.cpp @@ -54,7 +54,6 @@ int CStarControlSub27::proc5(CErrorCode &errorCode, FVector &v, FMatrix &m) { return 0; _field58 += _field60; - _field58 = _field58; _sub25.fn2(_field58, m); errorCode.set(); |