diff options
| author | 2017-11-23 17:26:13 +0100 | |
|---|---|---|
| committer | 2017-11-23 17:26:13 +0100 | |
| commit | 4eac628e2a9eadb08e2c9e673a6f41aea7a58205 (patch) | |
| tree | c32dc378d1f4f0fbfcfd5115d67b1d375f861fa4 /node/startingnode.cpp | |
| parent | 95db07d62e7f9808ce3ed42335c5175db0f10f11 (diff) | |
| parent | ddf524d6f0de517551d21e73b81abdf724a9ca35 (diff) | |
| download | OneRoll-4eac628e2a9eadb08e2c9e673a6f41aea7a58205.tar.gz OneRoll-4eac628e2a9eadb08e2c9e673a6f41aea7a58205.zip | |
Merge branch 'master' of github.com:Rolisteam/DiceParser
Diffstat (limited to 'node/startingnode.cpp')
| -rw-r--r-- | node/startingnode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 3b0d660..43a0dd7 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -22,7 +22,7 @@ StartingNode::StartingNode() { - m_previousNode = nullptr; + } void StartingNode::run(ExecutionNode*) { @@ -47,7 +47,7 @@ QString StartingNode::toString(bool withlabel) const qint64 StartingNode::getPriority() const { qint64 priority=0; - if(nullptr!=m_nextNode) + if(NULL!=m_nextNode) { priority = m_nextNode->getPriority(); } @@ -56,7 +56,7 @@ qint64 StartingNode::getPriority() const ExecutionNode* StartingNode::getCopy() const { StartingNode* node = new StartingNode(); - if(nullptr!=m_nextNode) + if(NULL!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } |