diff options
| author | 2016-01-29 18:20:49 +0100 | |
|---|---|---|
| committer | 2016-01-29 18:20:49 +0100 | |
| commit | 5a134dfc687551f0df25b52a37ad2e4467cd23be (patch) | |
| tree | 2095218da09db5087e28a8046d74ec111faa246e /diceparser.cpp | |
| parent | 6fc1aa00fe98b8a9012cfac4f738e9e07d826f5b (diff) | |
| download | OneRoll-5a134dfc687551f0df25b52a37ad2e4467cd23be.tar.gz OneRoll-5a134dfc687551f0df25b52a37ad2e4467cd23be.zip | |
add bool value to know the rest.
1d100i[<46]{+1d10}
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 92cd2e1..ebd163d 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -977,7 +977,7 @@ bool DiceParser::readIfInstruction(QString& str,ExecutionNode*& trueNode,Executi { str=str.remove(0,1); ExecutionNode* node; - readExpression(str,node); + bool hasExpresion = readExpression(str,node); if(str.startsWith('}')) { trueNode = node; |