aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-02-04 17:40:22 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-02-04 17:40:22 +0100
commit4286112189c56bca4a17ccceb6d0991d1e339e9b (patch)
treedb59bbd5c822b9c94a83213baca8a97986985595 /diceparser.cpp
parent7e98fdef41f6a9424ef273f9468bdde9269f776c (diff)
downloadOneRoll-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.cpp2
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);