aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_control_sub12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/star_control_sub12.cpp')
-rw-r--r--engines/titanic/star_control/star_control_sub12.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/star_control/star_control_sub12.cpp b/engines/titanic/star_control/star_control_sub12.cpp
index 8bcbf46e8d..7ed65357d3 100644
--- a/engines/titanic/star_control/star_control_sub12.cpp
+++ b/engines/titanic/star_control/star_control_sub12.cpp
@@ -113,11 +113,11 @@ void CStarControlSub12::proc13(CStarControlSub13 *dest) {
*dest = _sub13;
}
-void CStarControlSub12::proc14(int v) {
+void CStarControlSub12::proc14(FVector &v) {
FMatrix matrix = _sub13.getMatrix();
FVector vector = _sub13._position;
- _handlerP->proc9(&vector, v, &matrix);
+ _handlerP->proc9(vector, v, matrix);
}
void CStarControlSub12::proc15(CErrorCode *errorCode) {
@@ -131,7 +131,7 @@ void CStarControlSub12::proc15(CErrorCode *errorCode) {
FVector v1 = _sub13._position;
FVector v2 = _sub13._position;
- _handlerP->proc11(*errorCode, v2, _matrix2);
+ _handlerP->proc11(*errorCode, v2, *_matrix2);
if (v1 != v2) {
_sub13.setPosition(v2);
@@ -139,7 +139,7 @@ void CStarControlSub12::proc15(CErrorCode *errorCode) {
}
if (_matrix1 != _matrix2) {
- _sub13.setMatrix(_matrix2);
+ _sub13.setMatrix(*_matrix2);
}
}