aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/forloopnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/forloopnode.cpp')
-rw-r--r--node/forloopnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/forloopnode.cpp b/node/forloopnode.cpp
index f65a389..aba6ff4 100644
--- a/node/forloopnode.cpp
+++ b/node/forloopnode.cpp
@@ -58,7 +58,7 @@ void ForLoopNode::run(ExecutionNode* previous)
tmp= tmp->getNextNode();
}
Result* internalResult= tmp->getResult();
- auto value= internalResult->getResult(Result::SCALAR).toInt();
+ auto value= internalResult->getResult(Dice::RESULT_TYPE::SCALAR).toInt();
Die* neodie= new Die();
*neodie= *dice;