diff options
author | Paul Gilbert | 2017-04-18 21:42:09 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-18 21:42:09 -0400 |
commit | fdf2a70f447502f6785affad35061e0870bfa970 (patch) | |
tree | 065999aa3c384251dc344b336ac7444cb00b2f41 /engines | |
parent | a620b6c354a7eee9e521d7e94adc133b4d58b0a1 (diff) | |
download | scummvm-rg350-fdf2a70f447502f6785affad35061e0870bfa970.tar.gz scummvm-rg350-fdf2a70f447502f6785affad35061e0870bfa970.tar.bz2 scummvm-rg350-fdf2a70f447502f6785affad35061e0870bfa970.zip |
TITANIC: Fixes for CStarControlSub25 fn2
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_control_sub25.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/star_control/star_control_sub25.cpp b/engines/titanic/star_control/star_control_sub25.cpp index 0bd5a860e8..1cec704300 100644 --- a/engines/titanic/star_control/star_control_sub25.cpp +++ b/engines/titanic/star_control/star_control_sub25.cpp @@ -36,13 +36,13 @@ void CStarControlSub25::fn1(const FMatrix &m1, const FMatrix &m2) { } void CStarControlSub25::fn2(double val, FMatrix &m) { - if (val < 0.0) { + if (val <= 0.0) { m = _matrix1; } else if (val > 1.0) { m = _matrix2; } else { CStarControlSub26 sub26; - sub26.fn5(val, &_sub2, &sub26); + _sub1.fn5(val, &_sub2, &sub26); DMatrix m1; m1.fn3(&sub26); |