aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-14 18:34:32 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-14 18:34:32 +0100
commitdbfd1c0eb4ea24bf61e8dbe6012af1f32b549ab1 (patch)
tree1411356a789f1d2c542baf0b30dc165293fb4de4
parenta867b2234224298b1b862d978d6ef3a9c41f29c3 (diff)
downloadOneRoll-dbfd1c0eb4ea24bf61e8dbe6012af1f32b549ab1.tar.gz
OneRoll-dbfd1c0eb4ea24bf61e8dbe6012af1f32b549ab1.zip
Update keepdiceexecnode.cpp
adding previous result API
-rw-r--r--node/keepdiceexecnode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index 5e386f0..18e9f31 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -17,6 +17,7 @@ void KeepDiceExecNode::run(ExecutionNode* previous)
return;
}
DiceResult* previousDiceResult = static_cast<DiceResult*>(previous->getResult());
+ m_result->setPrevious(previousDiceResult);
if(NULL!=previousDiceResult)
{
QList<Die*> diceList=previousDiceResult->getResultList();