aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-11-04 11:36:19 +0100
committerRenaud G <renaud@rolisteam.org>2016-11-04 11:36:19 +0100
commitb977d3e2a2765f5b91ac7bf5c34ea8891969cda9 (patch)
treece08d4337e2cd378ff9905a38e01259feb777870
parent4d9a0daf0d6f33af72a5fb11150bad22768cae52 (diff)
downloadOneRoll-b977d3e2a2765f5b91ac7bf5c34ea8891969cda9.tar.gz
OneRoll-b977d3e2a2765f5b91ac7bf5c34ea8891969cda9.zip
Node after ifNode is ran as child of the allowed branch.
-rw-r--r--node/ifnode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/ifnode.cpp b/node/ifnode.cpp
index 8605dcf..8cf667c 100644
--- a/node/ifnode.cpp
+++ b/node/ifnode.cpp
@@ -86,10 +86,10 @@ void IfNode::run(ExecutionNode *previous)
}
}
- /* if(NULL!=m_nextNode)
+ if(NULL!=m_nextNode)
{
- m_nextNode->run(this);
- }*/
+ m_nextNode->run(previousLoop);
+ }
}
void IfNode::setValidator(Validator* val)