aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-18 09:43:16 -0500
committerPaul Gilbert2016-12-18 09:43:16 -0500
commit0ae74f5a0b7e79ed89b94dc7a66277a8787a98bb (patch)
tree833fb605cf30bffa8c1be7775625929c848e0226 /engines
parentd356d873788478fad993c5297e42e2bae57d2539 (diff)
downloadscummvm-rg350-0ae74f5a0b7e79ed89b94dc7a66277a8787a98bb.tar.gz
scummvm-rg350-0ae74f5a0b7e79ed89b94dc7a66277a8787a98bb.tar.bz2
scummvm-rg350-0ae74f5a0b7e79ed89b94dc7a66277a8787a98bb.zip
TITANIC: Fix animation going when going upwards in elevators
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/game/transport/lift.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/transport/lift.cpp b/engines/titanic/game/transport/lift.cpp
index 52c33c7843..c38e8a96f0 100644
--- a/engines/titanic/game/transport/lift.cpp
+++ b/engines/titanic/game/transport/lift.cpp
@@ -96,7 +96,7 @@ bool CLift::StatusChangeMsg(CStatusChangeMsg *msg) {
598, 589, 584, 579, 574, 569, 564, 559, 554, 549,
544, 539, 534, 529, 524, 519, 514, 509, 504, 479,
474, 469, 464, 459, 454, 449, 444, 369, 364, 359,
- 354, 349, 344, 339, 334, 329, 324, 319
+ 354, 349, 344, 339, 334, 329, 324, 319, 299
};
if (pet)
@@ -139,8 +139,8 @@ bool CLift::StatusChangeMsg(CStatusChangeMsg *msg) {
if (floorNum < oldFloorNum) {
// Animate lift going down
- _startFrame = DOWN_FRAME_NUMBERS[floorNum - 1];
- _endFrame = DOWN_FRAME_NUMBERS[oldFloorNum - 1];
+ _startFrame = DOWN_FRAME_NUMBERS[oldFloorNum - 1];
+ _endFrame = DOWN_FRAME_NUMBERS[floorNum - 1];
if (oldClass == newClass) {
debugStr = CString::format("Same (%d-%d)", _startFrame, _endFrame);