aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/dice/tst_dice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dice/tst_dice.cpp')
-rw-r--r--tests/dice/tst_dice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp
index 97feb95..999f85b 100644
--- a/tests/dice/tst_dice.cpp
+++ b/tests/dice/tst_dice.cpp
@@ -614,7 +614,9 @@ void TestDice::keepTest()
TestNode node;
KeepDiceExecNode keepN;
- keepN.setDiceKeepNumber(keep);
+ NumberNode* numberNode = new NumberNode();
+ numberNode->setNumber(keep);
+ keepN.setDiceKeepNumber(numberNode);
DiceResult result;