Skip to content

Commit 1f2a203

Browse files
committed
Fixed lack of returning of the old state pointer.
1 parent 5bb37fd commit 1f2a203

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FSM/FiniteStateMachine.hh

+1
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ namespace Core
704704
assert( old_state != nullptr );
705705
state->AssignStateID( state_id );
706706
state_table[ state_id ] = state;
707+
return old_state;
707708
}
708709

709710

0 commit comments

Comments
 (0)