aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-06 23:03:41 -0400
committerPaul Gilbert2017-06-06 23:03:41 -0400
commitd761a77236a9f181738bbbab88660d6ccf959a79 (patch)
tree932d75e965a204342717e644554aef733897e4d5 /engines
parent301cac15eea512cb24ac419c5f99d1f972bb9b93 (diff)
downloadscummvm-rg350-d761a77236a9f181738bbbab88660d6ccf959a79.tar.gz
scummvm-rg350-d761a77236a9f181738bbbab88660d6ccf959a79.tar.bz2
scummvm-rg350-d761a77236a9f181738bbbab88660d6ccf959a79.zip
TITANIC: 2nd marker lock on now working
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/star_control/star_control_sub27.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/star_control_sub27.cpp b/engines/titanic/star_control/star_control_sub27.cpp
index 121258101a..d45bee6f99 100644
--- a/engines/titanic/star_control/star_control_sub27.cpp
+++ b/engines/titanic/star_control/star_control_sub27.cpp
@@ -44,7 +44,7 @@ void CStarControlSub27::proc2(const FVector &oldPos, const FVector &newPos,
_transitionPercentInc = 0.1;
_active = true;
} else {
- _transitionPercentInc = 1.0 / distance;
+ _transitionPercentInc = 1.0 / _field4C;
_active = true;
}
}