change float to bool as correct type

This commit is contained in:
firefly2442 2017-12-30 22:14:27 -07:00
parent 0294887a0c
commit 6af109cd99

View File

@ -556,7 +556,7 @@ float AnimationTreePlayer::_process_node(const StringName &p_node, AnimationNode
return _process_node(osn->inputs[0].node, r_prev_anim, p_time, p_seek, p_fallback_weight, p_weights);
}
float os_seek = p_seek;
bool os_seek = p_seek;
if (p_seek)
osn->time = p_time;