aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/listsetrollnode.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/listsetrollnode.cpp
parentfb24013c7772ea80f1db0d9ff1d886d1676882cd (diff)
downloadOneRoll-d13bce0509bc6e7b040751eb069debe51a8cb7b3.tar.gz
OneRoll-d13bce0509bc6e7b040751eb069debe51a8cb7b3.zip
-update API used
Diffstat (limited to 'node/listsetrollnode.cpp')
-rw-r--r--node/listsetrollnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/listsetrollnode.cpp b/node/listsetrollnode.cpp
index fa66710..488721a 100644
--- a/node/listsetrollnode.cpp
+++ b/node/listsetrollnode.cpp
@@ -99,7 +99,7 @@ void ListSetRollNode::computeFacesNumber(Die* die)
{
if(m_rangeList.isEmpty())
{
- die->setFaces(m_values.size());
+ die->setMaxValue(m_values.size());
}
else
{
@@ -116,7 +116,7 @@ void ListSetRollNode::computeFacesNumber(Die* die)
++i;
}
//qDebug() << "set Faces"<<max;
- die->setFaces(max);
+ die->setMaxValue(max);
}
}