aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-01-22 00:56:32 +0100
committerRenaud G <renaud@rolisteam.org>2022-01-22 00:56:32 +0100
commit262cb9afb8338a76e126dea672a3fda53d8d1dad (patch)
tree2feb807159369075b562948166d56de3e21a3b9c /node/keepdiceexecnode.cpp
parentbca7533035f224671e0d41060dfa7de2811ca397 (diff)
downloadOneRoll-262cb9afb8338a76e126dea672a3fda53d8d1dad.tar.gz
OneRoll-262cb9afb8338a76e126dea672a3fda53d8d1dad.zip
Fix regression
Diffstat (limited to 'node/keepdiceexecnode.cpp')
-rw-r--r--node/keepdiceexecnode.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index 8748a3b..3e4490d 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -93,19 +93,19 @@ void KeepDiceExecNode::run(ExecutionNode* previous)
void KeepDiceExecNode::setDiceKeepNumber(ExecutionNode* n)
{
- m_numberOfDiceNode = n;
+ m_numberOfDiceNode= n;
}
QString KeepDiceExecNode::toString(bool wl) const
{
- if(wl)
- {
- auto param = m_numberOfDiceNode->toString(wl);
- return QString("%1 [label=\"KeepDiceExecNode %2\"]").arg(m_id, param);
- }
- else
- {
- return m_id;
- }
+ if(wl)
+ {
+ // auto param= m_numberOfDiceNode->toString(wl);
+ return QString("%1 [label=\"KeepDiceExecNode\"]").arg(m_id);
+ }
+ else
+ {
+ return m_id;
+ }
}
qint64 KeepDiceExecNode::getPriority() const
{