diff options
-rw-r--r-- | engines/fullpipe/lift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/lift.cpp b/engines/fullpipe/lift.cpp index 13e2af31ee..37c4a300a4 100644 --- a/engines/fullpipe/lift.cpp +++ b/engines/fullpipe/lift.cpp @@ -238,7 +238,7 @@ void FullpipeEngine::lift_exitSeq(ExCommand *cmd) { ex->_excFlags |= 3; mq->addExCommandToEnd(ex); - if (!ex) { + if (!cmd) { ex = new ExCommand(_aniMan->_id, 2, 40, 0, 0, 0, 1, 0, 0, 0); ex->_keyCode = _aniMan->_okeyCode; ex->_excFlags |= 2; |