diff options
| author | 2017-11-12 16:28:40 +0100 | |
|---|---|---|
| committer | 2017-11-12 16:28:40 +0100 | |
| commit | 2a8fd91924799e713c79f8a8e7d9edc94574a6ca (patch) | |
| tree | 6af720571119ef395a39fe3f6fff5d52ce09e3cf /node/startingnode.cpp | |
| parent | cedc70618afa6826d409a64078ea1a8ede4af06c (diff) | |
| parent | bbc6f032bf8f182e6e4e97c7afddf47a3fb8a911 (diff) | |
| download | OneRoll-2a8fd91924799e713c79f8a8e7d9edc94574a6ca.tar.gz OneRoll-2a8fd91924799e713c79f8a8e7d9edc94574a6ca.zip | |
update diceparser
Diffstat (limited to 'node/startingnode.cpp')
| -rw-r--r-- | node/startingnode.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 670dc7d..43a0dd7 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -26,7 +26,6 @@ StartingNode::StartingNode() } void StartingNode::run(ExecutionNode*) { - m_previousNode = nullptr; if(nullptr!=m_nextNode) { m_nextNode->run(this); @@ -48,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(); } @@ -57,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()); } |