diff options
author | Paul Gilbert | 2017-05-23 22:14:45 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-05-23 22:14:45 -0400 |
commit | bf3d66d46b3d01a738f73caf88c070dacca9c3c9 (patch) | |
tree | 32c0d13d8e150e267b0f0203b10660c21576ba09 /engines | |
parent | 9c28bcf04391456a5a2147a587cac2ea2b8fda66 (diff) | |
download | scummvm-rg350-bf3d66d46b3d01a738f73caf88c070dacca9c3c9.tar.gz scummvm-rg350-bf3d66d46b3d01a738f73caf88c070dacca9c3c9.tar.bz2 scummvm-rg350-bf3d66d46b3d01a738f73caf88c070dacca9c3c9.zip |
TITANIC: Fix result of CMatrixTransform fn5 method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/matrix_transform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/matrix_transform.cpp b/engines/titanic/star_control/matrix_transform.cpp index f51b73439d..9de21e42aa 100644 --- a/engines/titanic/star_control/matrix_transform.cpp +++ b/engines/titanic/star_control/matrix_transform.cpp @@ -134,7 +134,7 @@ CMatrixTransform CMatrixTransform::fn5(double percent, const CMatrixTransform &s double cosVal = acos(val1); double sinVal = sin(cosVal); val2 = sin((1.0 - percent) * cosVal) / sinVal; - t2 = src.resize(sin(cosVal * percent) / sinVal); + t1 = src.resize(sin(cosVal * percent) / sinVal); } t2 = sub1.resize(val2); |