aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2013-11-10 11:17:33 +0200
committerEugene Sandulenko2013-11-10 11:20:08 +0200
commit5d8eeda541e772c7b30203dfbbcb209b96a6edd6 (patch)
treec63e893c5bd8b9daf3d5d098a4f56534e7d1a01c /engines/fullpipe
parent2f333f997ba42c44fd76cefeeb1912e2548532b3 (diff)
downloadscummvm-rg350-5d8eeda541e772c7b30203dfbbcb209b96a6edd6.tar.gz
scummvm-rg350-5d8eeda541e772c7b30203dfbbcb209b96a6edd6.tar.bz2
scummvm-rg350-5d8eeda541e772c7b30203dfbbcb209b96a6edd6.zip
FULLPIPE: Fix condition. CID 1109644
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/motion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 2c61330ea1..ffa23cd071 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -1146,7 +1146,7 @@ int MovGraph2::findLink(Common::Array<MovGraphLink *> *linkList, int idx, Common
} else if (idx != (int)(linkList->size() - 1)) {
MovGraphLink *lnk = (*linkList)[idx + 1];
- if (lnk->_movGraphNode1 == node1 || lnk->_movGraphNode1 == node1) {
+ if (lnk->_movGraphNode2 == node1 || lnk->_movGraphNode1 == node1) {
node3 = node2;
node2 = node1;
} else if (lnk->_movGraphNode2 == node2 || lnk->_movGraphNode1 == node2) {