aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-10-11 15:49:38 +0200
committerRenaud G <renaud@rolisteam.org>2015-10-11 15:49:38 +0200
commit84691771b54365160f5b1d54033e00187dbbf043 (patch)
treedd17a1436659c48993bfdb846864dded708c411e /node/keepdiceexecnode.cpp
parenta220f89b6f30716883223292b0986c0dc9d941bc (diff)
parent114cd6a7990c44f0610dbf2080f101d0edbbaa57 (diff)
downloadOneRoll-84691771b54365160f5b1d54033e00187dbbf043.tar.gz
OneRoll-84691771b54365160f5b1d54033e00187dbbf043.zip
Merge branch 'master' of github.com:Rolisteam/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);