aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/interaction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/interaction.cpp b/engines/fullpipe/interaction.cpp
index 0b47dadb31..91dc8961d5 100644
--- a/engines/fullpipe/interaction.cpp
+++ b/engines/fullpipe/interaction.cpp
@@ -77,6 +77,9 @@ bool CInteractionController::handleInteraction(StaticANIObject *subj, GameObject
if (subj) {
if (!subj->isIdle() || (subj->_flags & 0x100))
return false;
+ } else {
+ error("CInteractionController::handleInteraction(): subj is null");
+ return false;
}
if (!_interactions.size())