aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/sortresult.cpp')
-rw-r--r--node/sortresult.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 23e3e7f..8bb19b4 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -17,13 +17,14 @@ void SortResultNode::run(ExecutionNode* node)
return;
}
DiceResult* previousDiceResult = static_cast<DiceResult*>(node->getResult());
+ m_diceResult->setPrevious(previousDiceResult);
if(NULL!=previousDiceResult)
{
QList<Die*> diceList=previousDiceResult->getResultList();
QList<Die*> diceList2=m_diceResult->getResultList();
- // dichotomy sorting
+ // Dichotomic sorting
for(int i = 0; i<diceList.size();++i)
{
Die* tmp1 = diceList[i];