From 49aca14b5d64b94c8db95ee9caffb90c00eab3fe Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 12 Oct 2018 10:19:14 +0200 Subject: Keep node accept negative number -1 means keep all dice but 1 (the lowest) --- node/keepdiceexecnode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/keepdiceexecnode.h') diff --git a/node/keepdiceexecnode.h b/node/keepdiceexecnode.h index 4212275..72d3de4 100644 --- a/node/keepdiceexecnode.h +++ b/node/keepdiceexecnode.h @@ -34,12 +34,12 @@ public: virtual ~KeepDiceExecNode(); virtual void run(ExecutionNode *previous); - virtual void setDiceKeepNumber(quint64 ); + virtual void setDiceKeepNumber(qint64 ); virtual QString toString(bool)const; virtual qint64 getPriority() const; virtual ExecutionNode *getCopy() const; private: - quint64 m_numberOfDice; + qint64 m_numberOfDice; DiceResult* m_diceResult; }; -- cgit v1.2.3-70-g09d2