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, 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);