diff options
-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; |