aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/booleancondition.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-25 09:59:29 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-25 09:59:29 +0200
commitbb6b87a2685c0d71b5c38be33c100f85ac0b9cee (patch)
tree81da599ceec1368e55fee5fd6a4dd0173fc39b5f /booleancondition.cpp
parent6f499de159eeac37fe473f945042e13359dc2d40 (diff)
downloadOneRoll-bb6b87a2685c0d71b5c38be33c100f85ac0b9cee.tar.gz
OneRoll-bb6b87a2685c0d71b5c38be33c100f85ac0b9cee.zip
Rework of the component to be a proper lib
Diffstat (limited to 'booleancondition.cpp')
-rw-r--r--booleancondition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/booleancondition.cpp b/booleancondition.cpp
index f62c900..c81f5ab 100644
--- a/booleancondition.cpp
+++ b/booleancondition.cpp
@@ -159,5 +159,5 @@ qint64 BooleanCondition::valueToScalar() const
m_value->run(nullptr);
auto result= m_value->getResult();
- return result->getResult(Result::SCALAR).toInt();
+ return result->getResult(Dice::RESULT_TYPE::SCALAR).toInt();
}