aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-01 20:22:46 +0200
committerEugene Sandulenko2014-02-01 22:25:53 +0200
commit5cf538bc01d8a29d268415238b9b8d021f8f0915 (patch)
treecf92f8fa08ced7b53bb0f81289362aa60790c15f /engines
parente4e699beb25a69d41878d884f763608636d4ba7d (diff)
downloadscummvm-rg350-5cf538bc01d8a29d268415238b9b8d021f8f0915.tar.gz
scummvm-rg350-5cf538bc01d8a29d268415238b9b8d021f8f0915.tar.bz2
scummvm-rg350-5cf538bc01d8a29d268415238b9b8d021f8f0915.zip
FULLPIPE: Fix stupid error with wrong identifier. CID 1166823
Diffstat (limited to 'engines')
-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 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;