aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-09 21:15:47 +0300
committerEugene Sandulenko2013-09-09 21:15:47 +0300
commit33f975a446325d37947c5634b83a26cbb622db5f (patch)
tree4cca7e86075890e355f40e3307d40a0da8db4e37
parenta6231b83d186897c3a4c5b759e9f81572b815e9f (diff)
downloadscummvm-rg350-33f975a446325d37947c5634b83a26cbb622db5f.tar.gz
scummvm-rg350-33f975a446325d37947c5634b83a26cbb622db5f.tar.bz2
scummvm-rg350-33f975a446325d37947c5634b83a26cbb622db5f.zip
FULLPIPE: Do not continue unnecessary function. CID 1086777
-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())