aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-08-29 00:05:11 +0200
committerRenaud G <renaud@rolisteam.org>2015-08-29 00:05:11 +0200
commit04423fcd2848c283169f5a6719bd50cf70e14138 (patch)
tree3157bf972a4b619d1819278ad4bfeff76ff7bd17 /node/keepdiceexecnode.cpp
parent3a8b315ab8a448a443cce277f3f26a1996403e06 (diff)
parentda1db7bc2436f94ab288d8da8d98a8209d3d2caa (diff)
downloadOneRoll-04423fcd2848c283169f5a6719bd50cf70e14138.tar.gz
OneRoll-04423fcd2848c283169f5a6719bd50cf70e14138.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Diffstat (limited to 'node/keepdiceexecnode.cpp')
-rw-r--r--node/keepdiceexecnode.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index a225ac4..a230107 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -42,10 +42,8 @@ m_previousNode = previous;
if(NULL!=previousDiceResult)
{
QList<Die*> diceList=previousDiceResult->getResultList();
- QList<Die*> diceList2=m_diceResult->getResultList();
+ QList<Die*> diceList2 = diceList.mid(0,m_numberOfDice);
-
- diceList2 = diceList.mid(0,m_numberOfDice);
foreach(Die* tmp,diceList.mid(m_numberOfDice,-1))
{
tmp->setHighlighted(false);