aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();