mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 08:39:45 +00:00
TITANIC: Fixes for CStarControlSub25 fn2
This commit is contained in:
parent
a620b6c354
commit
fdf2a70f44
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user