aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-07-10 10:45:44 +0200
committerRenaud G <renaud@rolisteam.org>2016-07-10 10:45:44 +0200
commitdbb57d52d351e340ce69fccaedbdf758b04ed8fe (patch)
tree9f0db291eecb5aae8d5398bc9d2ad5d83dc26cc3
parent0f58b77592facb164b2f8a2ba2a06b6ba883e9ba (diff)
downloadOneRoll-dbb57d52d351e340ce69fccaedbdf758b04ed8fe.tar.gz
OneRoll-dbb57d52d351e340ce69fccaedbdf758b04ed8fe.zip
update dice system.
-rw-r--r--node/sortresult.cpp2
-rw-r--r--result/diceresult.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 0bf531c..f72d884 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -96,7 +96,7 @@ void SortResultNode::run(ExecutionNode* node)
}
else
{
- m_result = node->getResult();
+ //m_result = node->getResult();
//m_errors.append(DIE_RESULT_EXPECTED);
}
diff --git a/result/diceresult.cpp b/result/diceresult.cpp
index 462c989..9f9fbf8 100644
--- a/result/diceresult.cpp
+++ b/result/diceresult.cpp
@@ -51,7 +51,7 @@ void DiceResult::setResultList(QList<Die*> list)
}
DiceResult::~DiceResult()
{
- qDeleteAll(m_diceValues.begin(), m_diceValues.end());
+ qDeleteAll(m_diceValues.begin(), m_diceValues.end());
m_diceValues.clear();
}
QVariant DiceResult::getResult(RESULT_TYPE type)