aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/rerolldicenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/rerolldicenode.cpp')
-rw-r--r--node/rerolldicenode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/rerolldicenode.cpp b/node/rerolldicenode.cpp
index 659e9c0..56ee6d9 100644
--- a/node/rerolldicenode.cpp
+++ b/node/rerolldicenode.cpp
@@ -25,8 +25,8 @@ void RerollDiceNode::run(ExecutionNode* previous)
{
for(auto& die : previous_result->getResultList())
{
- Die* tmpdie= new Die();
- *tmpdie= *die;
+ Die* tmpdie= new Die(*die);
+ //*tmpdie= *die;
m_diceResult->insertResult(tmpdie);
die->displayed();
}