aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/lift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/lift.cpp')
-rw-r--r--engines/fullpipe/lift.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/fullpipe/lift.cpp b/engines/fullpipe/lift.cpp
index 93bfbaaa24..32a4532e36 100644
--- a/engines/fullpipe/lift.cpp
+++ b/engines/fullpipe/lift.cpp
@@ -240,23 +240,23 @@ void FullpipeEngine::lift_exitSeq(ExCommand *cmd) {
if (!cmd) {
ex = new ExCommand(_aniMan->_id, 2, 40, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _aniMan->_okeyCode;
+ ex->_param = _aniMan->_okeyCode;
ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);
}
ex = new ExCommand(_lift->_id, 1, MV_LFT_OPEN, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _lift->_okeyCode;
+ ex->_param = _lift->_okeyCode;
ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);
ex = new ExCommand(_aniMan->_id, 1, MV_MAN_STARTD, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _aniMan->_okeyCode;
+ ex->_param = _aniMan->_okeyCode;
ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);
ex = new ExCommand(_aniMan->_id, 5, -1, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _aniMan->_okeyCode;
+ ex->_param = _aniMan->_okeyCode;
ex->_field_14 = 10;
ex->_x = -1;
ex->_y = -1;
@@ -274,7 +274,7 @@ void FullpipeEngine::lift_exitSeq(ExCommand *cmd) {
mq->addExCommandToEnd(ex);
ex = new ExCommand(_lift->_id, 1, MV_LFT_CLOSE, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _lift->_okeyCode;
+ ex->_param = _lift->_okeyCode;
ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);
@@ -340,12 +340,12 @@ void FullpipeEngine::lift_walkAndGo() {
mq->setFlags(mq->getFlags() | 1);
ex = new ExCommand(_aniMan->_id, 2, 15, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _aniMan->_okeyCode;
+ ex->_param = _aniMan->_okeyCode;
ex->_excFlags |= 2;
mq->addExCommand(ex);
ex = new ExCommand(_aniMan->_id, 5, -1, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = _aniMan->_okeyCode;
+ ex->_param = _aniMan->_okeyCode;
ex->_field_14 = _lift->_priority + 1;
ex->_x = -1;
ex->_y = -1;
@@ -410,7 +410,7 @@ void FullpipeEngine::lift_goAnimation() {
ExCommand *ex = new ExCommand(ANI_MAN, 1, (pre->keyCode != LiftDown ? MV_MAN_LIFTDOWN : MV_MAN_LIFTUP), 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = -1;
+ ex->_param = -1;
ex->_field_24 = 1;
ex->_excFlags |= 2;
@@ -418,7 +418,7 @@ void FullpipeEngine::lift_goAnimation() {
ex = new ExCommand(parentId, 17, 61, 0, 0, 0, 1, 0, 0, 0);
- ex->_keyCode = buttonId;
+ ex->_param = buttonId;
ex->_excFlags |= 3;
mq->addExCommandToEnd(ex);
@@ -488,7 +488,7 @@ void FullpipeEngine::lift_startExitQueue() {
void FullpipeEngine::lift_hoverButton(ExCommand *cmd) {
if (_lastLiftButton) {
- if (!(cmd->_keyCode & 2) || _liftX != cmd->_x || _liftY != cmd->_y) {
+ if (!(cmd->_param & 2) || _liftX != cmd->_x || _liftY != cmd->_y) {
_lastLiftButton->_statics = _lastLiftButton->getStaticsById(lift_getButtonIdN(_lastLiftButton->_statics->_staticsId));
_lastLiftButton = 0;
}