aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.cpp
diff options
context:
space:
mode:
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);