diff options
author | Eugene Sandulenko | 2013-09-09 21:21:39 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-09 21:21:39 +0300 |
commit | 18bbf4a2eb6e972175c5b503ce3e7728c3059ace (patch) | |
tree | 031c9b9e00fc094d0c19f854a9a4d3e00b8b780f /engines/fullpipe | |
parent | 33f975a446325d37947c5634b83a26cbb622db5f (diff) | |
download | scummvm-rg350-18bbf4a2eb6e972175c5b503ce3e7728c3059ace.tar.gz scummvm-rg350-18bbf4a2eb6e972175c5b503ce3e7728c3059ace.tar.bz2 scummvm-rg350-18bbf4a2eb6e972175c5b503ce3e7728c3059ace.zip |
FULLPIPE: Fix logical error. CID 1086776
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index 0c06e03b75..f4e771af56 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -979,7 +979,7 @@ int global_messageHandler3(ExCommand *cmd) { cmd->_messageKind = 0; return result; } - if (ani2->canInteractAny(pic, cmd->_keyCode)) { + if (!ani2 || ani2->canInteractAny(pic, cmd->_keyCode)) { if (!ani2 || (ani2->isIdle() && !(ani2->_flags & 0x80) && !(ani2->_flags & 0x100))) handleObjectInteraction(ani2, pic, cmd->_keyCode); return 1; |