aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/operationcondition.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 /operationcondition.cpp
parent6f499de159eeac37fe473f945042e13359dc2d40 (diff)
downloadOneRoll-bb6b87a2685c0d71b5c38be33c100f85ac0b9cee.tar.gz
OneRoll-bb6b87a2685c0d71b5c38be33c100f85ac0b9cee.zip
Rework of the component to be a proper lib
Diffstat (limited to 'operationcondition.cpp')
-rw-r--r--operationcondition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/operationcondition.cpp b/operationcondition.cpp
index 53a994d..67b10fc 100644
--- a/operationcondition.cpp
+++ b/operationcondition.cpp
@@ -131,5 +131,5 @@ qint64 OperationCondition::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();
}