aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/ifnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-02-12 11:06:29 +0100
committerRenaud G <renaud@rolisteam.org>2017-02-12 11:06:29 +0100
commitd13bce0509bc6e7b040751eb069debe51a8cb7b3 (patch)
tree25f00279d99d2596c5523d55484cc7646e7e750d /node/ifnode.cpp
parentfb24013c7772ea80f1db0d9ff1d886d1676882cd (diff)
downloadOneRoll-d13bce0509bc6e7b040751eb069debe51a8cb7b3.tar.gz
OneRoll-d13bce0509bc6e7b040751eb069debe51a8cb7b3.zip
-update API used
Diffstat (limited to 'node/ifnode.cpp')
-rw-r--r--node/ifnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/ifnode.cpp b/node/ifnode.cpp
index b1ca1da..27b588f 100644
--- a/node/ifnode.cpp
+++ b/node/ifnode.cpp
@@ -137,7 +137,7 @@ void IfNode::run(ExecutionNode *previous)
{
Die* dice = new Die();
dice->setValue(value);
- dice->setFaces(value);
+ dice->setMaxValue(value);
if(m_validator->hasValid(dice,true,true))
{
nextNode=m_true;