diff options
Diffstat (limited to 'diceparser.cpp')
| -rw-r--r-- | diceparser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/diceparser.cpp b/diceparser.cpp index 31bcf59..796850f 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -644,6 +644,11 @@ bool DiceParser::readDice(QString& str,ExecutionNode* & node) // qint64 face = abs(num - end); //qDebug() << face << end; DiceRollerNode* drNode = new DiceRollerNode(max,min); + + if(hasOp) + { + drNode->setOperator(op); + } node = drNode; ExecutionNode* current = drNode; while(readOption(str,current)) |