aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-08 18:08:37 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-08 18:08:37 +0100
commitda6ca2bbd51a20ca247e216033c9b9dc77def4aa (patch)
tree31a1b58de81b837d7db5f1128f6058bb84adeae2
parent12b121b1f2f3884987569d7eb6909479a7db035c (diff)
downloadOneRoll-da6ca2bbd51a20ca247e216033c9b9dc77def4aa.tar.gz
OneRoll-da6ca2bbd51a20ca247e216033c9b9dc77def4aa.zip
Update keepdiceexecnode.cpp
die*
-rw-r--r--node/keepdiceexecnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index d700f8e..5e386f0 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -19,8 +19,8 @@ void KeepDiceExecNode::run(ExecutionNode* previous)
DiceResult* previousDiceResult = static_cast<DiceResult*>(previous->getResult());
if(NULL!=previousDiceResult)
{
- QList<Die> diceList=previousDiceResult->getResultList();
- QList<Die> diceList2=m_diceResult->getResultList();
+ QList<Die*> diceList=previousDiceResult->getResultList();
+ QList<Die*> diceList2=m_diceResult->getResultList();
diceList2 = diceList.mid(0,m_numberOfDice);