aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-15 21:24:56 -0400
committerPaul Gilbert2017-04-15 21:24:56 -0400
commitd128587e99d93e55cf9de9da771f1f775d27ad18 (patch)
tree7d44567b26ca5f35fc84ae14a7790f91d858737c /engines
parent12fa59697ecc0ca4c26ed458122b5818e56b40bd (diff)
downloadscummvm-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.cpp3
-rw-r--r--engines/titanic/star_control/star_control_sub27.cpp1
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();