diff options
| author | 2018-10-12 10:19:14 +0200 | |
|---|---|---|
| committer | 2018-10-12 10:19:36 +0200 | |
| commit | 49aca14b5d64b94c8db95ee9caffb90c00eab3fe (patch) | |
| tree | 97f54c198da19eb8ea5a5c4e0a72fb941ee4ffdf /node/keepdiceexecnode.h | |
| parent | fe9b3dd57e908931bf303b0e11432427680976ab (diff) | |
| download | OneRoll-49aca14b5d64b94c8db95ee9caffb90c00eab3fe.tar.gz OneRoll-49aca14b5d64b94c8db95ee9caffb90c00eab3fe.zip | |
Keep node accept negative number -1 means keep all dice but 1 (the lowest)
Diffstat (limited to 'node/keepdiceexecnode.h')
| -rw-r--r-- | node/keepdiceexecnode.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |