aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-09 22:14:19 -0400
committerPaul Gilbert2017-04-09 22:14:19 -0400
commit2a94ae2fb86eb5e2530f38300e1f5e8b0950c16e (patch)
treea20f92aeb3aa264a3b3b0a2cba803939d36338fc
parent73e6546559f2db81fbe9f951b1e716232c8f5822 (diff)
downloadscummvm-rg350-2a94ae2fb86eb5e2530f38300e1f5e8b0950c16e.tar.gz
scummvm-rg350-2a94ae2fb86eb5e2530f38300e1f5e8b0950c16e.tar.bz2
scummvm-rg350-2a94ae2fb86eb5e2530f38300e1f5e8b0950c16e.zip
TITANIC: Fix CStarControlSub13 setPosition
-rw-r--r--engines/titanic/star_control/star_control_sub13.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/titanic/star_control/star_control_sub13.cpp b/engines/titanic/star_control/star_control_sub13.cpp
index 49bcdbcef7..74b3d7228d 100644
--- a/engines/titanic/star_control/star_control_sub13.cpp
+++ b/engines/titanic/star_control/star_control_sub13.cpp
@@ -106,8 +106,7 @@ void CStarControlSub13::setPosition(const FVector &v) {
}
void CStarControlSub13::setPosition(const FPose &pose) {
- _position.fn5(pose);
- _position = pose._row1;
+ _position = _position.fn5(pose);
_flag = false;
}