diff options
| author | 2021-05-12 18:48:03 +0200 | |
|---|---|---|
| committer | 2021-05-12 18:48:03 +0200 | |
| commit | ae8b7dc596f7498dbf8153c735d096ae194acf51 (patch) | |
| tree | 4c9b35d074f852c0cf13883fc711ade26cfe5026 /node/keepdiceexecnode.h | |
| parent | 4fd5a0988bef5c6c5d4ca96967d7d3a176f4c410 (diff) | |
| download | OneRoll-ae8b7dc596f7498dbf8153c735d096ae194acf51.tar.gz OneRoll-ae8b7dc596f7498dbf8153c735d096ae194acf51.zip | |
Make sure k operator can read value from variable.
Diffstat (limited to 'node/keepdiceexecnode.h')
| -rw-r--r-- | node/keepdiceexecnode.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/node/keepdiceexecnode.h b/node/keepdiceexecnode.h index c4aa5c5..0dd6616 100644 --- a/node/keepdiceexecnode.h +++ b/node/keepdiceexecnode.h @@ -34,15 +34,13 @@ public: virtual ~KeepDiceExecNode(); virtual void run(ExecutionNode* previous); - //virtual void setDiceKeepNumber(qint64); virtual void setDiceKeepNumber(ExecutionNode* valueNode ); virtual QString toString(bool) const; virtual qint64 getPriority() const; virtual ExecutionNode* getCopy() const; private: - qint64 m_numberOfDice= 0; - ExecutionNode* m_numberOfDiceNode; + ExecutionNode* m_numberOfDiceNode = nullptr; DiceResult* m_diceResult; }; |