Skip to content

Commit

Permalink
Fixed lack of returning of the old state pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlo-kiss committed Apr 20, 2018
1 parent 5bb37fd commit 1f2a203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FSM/FiniteStateMachine.hh
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ namespace Core
assert( old_state != nullptr );
state->AssignStateID( state_id );
state_table[ state_id ] = state;
return old_state;
}


Expand Down

0 comments on commit 1f2a203

Please sign in to comment.