Fix out of bound array access caused by unassigned variable

This commit is contained in:
Rafał Mikrut
2020-04-01 19:29:35 +02:00
parent 0168709978
commit 359bebd8c0
16 changed files with 48 additions and 20 deletions
@@ -516,6 +516,11 @@ AnimationNodeStateMachinePlayback::AnimationNodeStateMachinePlayback() {
len_current = 0;
fading_time = 0;
stop_request = false;
len_total = 0.0;
pos_current = 0.0;
loops_current = 0;
fading_pos = 0.0;
start_request_travel = false;
}
///////////////////////////////////////////////////////