aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_control_sub22.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/star_control_sub22.cpp')
-rw-r--r--engines/titanic/star_control/star_control_sub22.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_control_sub22.cpp b/engines/titanic/star_control/star_control_sub22.cpp
index f3d9b6dc7a..f26fbb59a8 100644
--- a/engines/titanic/star_control/star_control_sub22.cpp
+++ b/engines/titanic/star_control/star_control_sub22.cpp
@@ -34,14 +34,14 @@ void CStarControlSub22::proc8(const FVector &oldPos, const FVector &newPos,
if (isLocked())
decLockCount();
- _sub27.proc2(oldPos, newPos, oldOrientation, newOrientation);
+ _autoMover.proc2(oldPos, newPos, oldOrientation, newOrientation);
incLockCount();
}
void CStarControlSub22::updatePosition(CErrorCode &errorCode, FVector &pos, FMatrix &orientation) {
- if (_sub27.isActive()) {
+ if (_autoMover.isActive()) {
decLockCount();
- int val = _sub27.proc5(errorCode, pos, orientation);
+ int val = _autoMover.proc5(errorCode, pos, orientation);
if (val == 1)
incLockCount();
if (val == 2) {