Properly clear state
This commit is contained in:
@@ -27,9 +27,10 @@ bool init(int *game) {
|
||||
// print "Hello, world!"
|
||||
printBT = bzBTMakeRoot(nodePool);
|
||||
BzBTNode *pseq = bzBTCompPSelector(nodePool, printBT);
|
||||
bzBTDecorDelay(nodePool, pseq, 2.0f);
|
||||
BzBTNode *node = bzBTDecorFail(nodePool, pseq);
|
||||
bzBTDecorDelay(nodePool, node, 2.0f);
|
||||
|
||||
BzBTNode *node = bzBTDecorRepeat(nodePool, pseq, 5);
|
||||
node = bzBTDecorRepeat(nodePool, pseq, 5);
|
||||
|
||||
BzBTNode *seq = bzBTCompSequence(nodePool, node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user