aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/fmatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/fmatrix.cpp')
-rw-r--r--engines/titanic/star_control/fmatrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/fmatrix.cpp b/engines/titanic/star_control/fmatrix.cpp
index 470569c88d..e633db5dd0 100644
--- a/engines/titanic/star_control/fmatrix.cpp
+++ b/engines/titanic/star_control/fmatrix.cpp
@@ -124,7 +124,7 @@ void FMatrix::set(const DVector &row1, const DVector &row2, const DVector &row3)
void FMatrix::set(const FVector &v) {
_row3 = v;
- _row2 = _row3.fn1();
+ _row2 = _row3.swapComponents();
_row1 = _row3.crossProduct(_row2);