From 34b4cd544333125ce8301b055e47e5492a95a9fb Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 7 May 2017 13:11:59 +0200 Subject: -fix error about dice system. --- node/dicerollernode.cpp | 2 +- result/diceresult.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index fd92b93..89ba24d 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -10,7 +10,7 @@ DiceRollerNode::DiceRollerNode(qint64 max,qint64 min) - : m_max(max),m_diceResult(new DiceResult()),m_min(min) + : m_max(max),m_diceResult(new DiceResult()),m_min(min),m_operator(Die::PLUS) { m_result=m_diceResult; } diff --git a/result/diceresult.cpp b/result/diceresult.cpp index 08a3672..ddedd1c 100644 --- a/result/diceresult.cpp +++ b/result/diceresult.cpp @@ -24,6 +24,7 @@ #include DiceResult::DiceResult() + : m_operator(Die::PLUS) { m_resultTypes= (DICE_LIST | SCALAR); m_homogeneous = true; -- cgit v1.2.3-70-g09d2