diff options
author | Paul Gilbert | 2017-03-28 21:47:56 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-03-28 21:47:56 -0400 |
commit | ef66debb7d24b4465c59673b81024c40956dd1c3 (patch) | |
tree | 4b3f32ab5dcaa2e89b80f6b7b1a389f2227ce990 | |
parent | 5e4feaf86a4209323cccf5629a7c2921ee9d4499 (diff) | |
download | scummvm-rg350-ef66debb7d24b4465c59673b81024c40956dd1c3.tar.gz scummvm-rg350-ef66debb7d24b4465c59673b81024c40956dd1c3.tar.bz2 scummvm-rg350-ef66debb7d24b4465c59673b81024c40956dd1c3.zip |
TITANIC: Fix output of FVector fn1
-rw-r--r-- | engines/titanic/star_control/fvector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/star_control/fvector.cpp b/engines/titanic/star_control/fvector.cpp index 456a57f2cb..eec16d1778 100644 --- a/engines/titanic/star_control/fvector.cpp +++ b/engines/titanic/star_control/fvector.cpp @@ -34,9 +34,9 @@ FVector::FVector(const DVector &src) : _x(src._x), _y(src._y), _z(src._z) { FVector FVector::fn1() const { return FVector( (ABS(_x - _y) < 0.00001 && ABS(_y - _z) < 0.00001 && - ABS(_x - _z) < 0.00001) ? -_x : _x, + ABS(_x - _z) < 0.00001) ? -_y : _y, _z, - _y + _x ); } |