aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/lift.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-05 00:03:14 +0200
committerEugene Sandulenko2016-09-05 00:03:14 +0200
commit7e07e0196314245420f0430ee657e791c43944a2 (patch)
treed9e1b50a7bd1a07d2bc090daed298a0e5ab85197 /engines/fullpipe/lift.cpp
parent9b21c5de2ecc884e49a12940c928c16a2d2f6c5b (diff)
downloadscummvm-rg350-7e07e0196314245420f0430ee657e791c43944a2.tar.gz
scummvm-rg350-7e07e0196314245420f0430ee657e791c43944a2.tar.bz2
scummvm-rg350-7e07e0196314245420f0430ee657e791c43944a2.zip
FULLPIPE: Renames in PreloadItem
Diffstat (limited to 'engines/fullpipe/lift.cpp')
-rw-r--r--engines/fullpipe/lift.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/lift.cpp b/engines/fullpipe/lift.cpp
index 32a4532e36..c64e7b67fa 100644
--- a/engines/fullpipe/lift.cpp
+++ b/engines/fullpipe/lift.cpp
@@ -408,7 +408,7 @@ void FullpipeEngine::lift_goAnimation() {
if (pre->preloadId2 == buttonId && pre->preloadId1 == _currentScene->_sceneId) {
MessageQueue *mq = new MessageQueue(_globalMessageQueueList->compact());
- ExCommand *ex = new ExCommand(ANI_MAN, 1, (pre->keyCode != LiftDown ? MV_MAN_LIFTDOWN : MV_MAN_LIFTUP), 0, 0, 0, 1, 0, 0, 0);
+ ExCommand *ex = new ExCommand(ANI_MAN, 1, (pre->param != LiftDown ? MV_MAN_LIFTDOWN : MV_MAN_LIFTUP), 0, 0, 0, 1, 0, 0, 0);
ex->_param = -1;
ex->_field_24 = 1;