diff options
| author | 2017-06-03 16:18:28 +0200 | |
|---|---|---|
| committer | 2017-06-03 16:18:28 +0200 | |
| commit | 91d8d763be0f1c2f0eef8bcb4a1b249b52bdb340 (patch) | |
| tree | ba30869be96e17648d4d6eedc21cf8ecaee621a6 /node/ifnode.cpp | |
| parent | f99aea24fc657b081dccc44390a319b357a803a0 (diff) | |
| parent | 34b4cd544333125ce8301b055e47e5492a95a9fb (diff) | |
| download | OneRoll-91d8d763be0f1c2f0eef8bcb4a1b249b52bdb340.tar.gz OneRoll-91d8d763be0f1c2f0eef8bcb4a1b249b52bdb340.zip | |
Merge branch 'master' of github.com:Rolisteam/DiceParser
Diffstat (limited to 'node/ifnode.cpp')
| -rw-r--r-- | node/ifnode.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/node/ifnode.cpp b/node/ifnode.cpp index da852b3..3df60de 100644 --- a/node/ifnode.cpp +++ b/node/ifnode.cpp @@ -59,32 +59,25 @@ void IfNode::run(ExecutionNode *previous) { for(Die* dice : diceList) { - qDebug()<< "dice value:" << dice->getValue(); if(m_validator->hasValid(dice,true,true)) { - qDebug()<< "true"; nextNode = (nullptr==m_true) ? nullptr: m_true->getCopy(); } else { - qDebug()<< "false"; nextNode = (nullptr==m_false) ? nullptr: m_false->getCopy(); } - qDebug()<< "dice value:" << dice->getValue() << "next node" << nextNode << "m_true" << m_true; if(nullptr!=nextNode) { if(nullptr==previousLoop->getNextNode()) { - qDebug() << "iniside loop"; previousLoop->setNextNode(nextNode); } if(nullptr==m_nextNode) { - qDebug() << "next node" ; m_nextNode = nextNode; } - qDebug() << "before run"; nextNode->run(previousLoop); previousLoop = getLeafNode(nextNode); } |