Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit beb11cb

Browse files
authored
Update SequenceNode.md (BehaviorTree#211)
1 parent d17a078 commit beb11cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/SequenceNode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ This tree represents the behavior of a sniper in a computer game.
4545
status = RUNNING;
4646
// _index is a private member
4747

48-
while( index < number_of_children)
48+
while(_index < number_of_children)
4949
{
50-
child_status = child[index]->tick();
50+
child_status = child[_index]->tick();
5151
5252
if( child_status == SUCCESS ) {
5353
_index++;

0 commit comments

Comments
 (0)