diff options
Diffstat (limited to 'booleancondition.cpp')
| -rw-r--r-- | booleancondition.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/booleancondition.cpp b/booleancondition.cpp index af566b7..1c992c2 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -94,7 +94,11 @@ BooleanCondition::~BooleanCondition() qint64 BooleanCondition::hasValid(Die* b, bool recursive, bool unhighlight) const { QList<qint64> listValues; - if(recursive) + if(m_conditionType == Dice::OnEachValue) + { + listValues.append(b->getValue()); + } + else if(recursive) { listValues= b->getListValue(); } |