aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-14 18:33:29 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-14 18:33:29 +0100
commita867b2234224298b1b862d978d6ef3a9c41f29c3 (patch)
tree2f749d81714e816a1398f2647700742a176248e8 /node
parentf654cc50e58814f5a1e5454470950f692030f842 (diff)
downloadOneRoll-a867b2234224298b1b862d978d6ef3a9c41f29c3.tar.gz
OneRoll-a867b2234224298b1b862d978d6ef3a9c41f29c3.zip
Update explosedicenode.cpp
adding previous result API
Diffstat (limited to 'node')
-rw-r--r--node/explosedicenode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/explosedicenode.cpp b/node/explosedicenode.cpp
index 9ed949a..431b86e 100644
--- a/node/explosedicenode.cpp
+++ b/node/explosedicenode.cpp
@@ -10,6 +10,7 @@ void ExploseDiceNode::run(ExecutionNode* previous)
if((NULL!=previous)&&(NULL!=previous->getResult()))
{
DiceResult* previous_result = static_cast<DiceResult*>(previous->getResult());
+ m_result->setPrevious(previous_result);
if(NULL!=previous_result)
{
QList<Die*> list = previous_result->getResultList();