diff options
| author | 2014-02-04 17:40:22 +0100 | |
|---|---|---|
| committer | 2014-02-04 17:40:22 +0100 | |
| commit | 4286112189c56bca4a17ccceb6d0991d1e339e9b (patch) | |
| tree | db59bbd5c822b9c94a83213baca8a97986985595 /diceparser.cpp | |
| parent | 7e98fdef41f6a9424ef273f9468bdde9269f776c (diff) | |
| download | OneRoll-4286112189c56bca4a17ccceb6d0991d1e339e9b.tar.gz OneRoll-4286112189c56bca4a17ccceb6d0991d1e339e9b.zip | |
Update diceparser.cpp
priority and left to right mode managed
Diffstat (limited to 'diceparser.cpp')
| -rw-r--r-- | diceparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp index 5d5d9a3..f8fb477 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -306,7 +306,7 @@ bool DiceParser::readOperator(QString& str,ExecutionNode* previous) if(readExpression(str,nodeExec)) { node->setInternalNode(nodeExec); - if(node->getPriority()>nodeExec->getPriority()) + if(node->getPriority()>=nodeExec->getPriority()) { node->setNextNode(nodeExec->getNextNode()); nodeExec->setNextNode(NULL); |